OSDN Git Service

quota: Use 'hlist_for_each_entry' to simplify code
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Wed, 28 Apr 2021 08:44:19 +0000 (10:44 +0200)
committerJan Kara <jack@suse.cz>
Mon, 10 May 2021 14:27:49 +0000 (16:27 +0200)
commit8c721cb0f742f9a01f2f1985b274b544f89904f4
tree2ee44e1674d5d0e3a7189fa94b0ea6f5067a0518
parent6efb943b8616ec53a5e444193dccf1af9ad627b5
quota: Use 'hlist_for_each_entry' to simplify code

Use 'hlist_for_each_entry' instead of hand writing it.
This saves a few lines of code.

Link: https://lore.kernel.org/r/f82d3e33964dcbd2aac19866735e0a8381c8a735.1619599407.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Jan Kara <jack@suse.cz>
fs/quota/dquot.c