]> git.baikalelectronics.ru Git - kernel.git/commit
ext4: Change list_for_each* to list_for_each_entry*
authorDaejun Park <daejun7.park@samsung.com>
Mon, 11 Jan 2021 01:37:26 +0000 (10:37 +0900)
committerTheodore Ts'o <tytso@mit.edu>
Wed, 3 Feb 2021 05:05:01 +0000 (00:05 -0500)
commit0f041a91e638d27ce959ed4520eef50d8177a8a4
tree1536cc03207766e13da08681c4fa7ce8aaed0f8d
parentc45bbd17239b5f2bfdb9fa26a0a1857c677ea7fb
ext4: Change list_for_each* to list_for_each_entry*

In the fast_commit.c, list_for_each* + list_entry can be changed to
list_for_each_entry*. It reduces number of variables and lines.

Signed-off-by: Daejun Park <daejun7.park@samsung.com>
Link: https://lore.kernel.org/r/20210111013726epcms2p4579ae56040d7043db785bf0d0a785dc7@epcms2p4
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/ext4/fast_commit.c