]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0b8921f487c4a59e0bc60c85df1165b80a8945a3
tree2ee44e1674d5d0e3a7189fa94b0ea6f5067a0518
parent78f0a5f86683713bf30eae653c023ab078a37264
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