Jakob Koschel 9e3a845df9 f2fs: replace usage of found with dedicated list iterator variable
To move the list iterator variable into the list_for_each_entry_*()
macro in the future it should be avoided to use the list iterator
variable after the loop body.

To *never* use the list iterator variable after the loop it was
concluded to use a separate iterator variable instead of a
found boolean [1].

This removes the need to use a found variable and simply checking if
the variable was set, can determine if the break/goto was hit.

Link: https://lore.kernel.org/all/CAHk-=wgRr_D8CB-D9Kg-c=EHreAsk5SqXPwr9Y7k9sA6cWXJ6w@mail.gmail.com/
Signed-off-by: Jakob Koschel <jakobkoschel@gmail.com>
Reviewed-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
2022-04-25 15:13:04 -07:00
..
2022-02-12 06:20:46 -08:00
2022-03-22 18:26:56 -07:00
2022-03-17 09:16:22 -07:00
2022-03-22 10:00:31 -07:00
2022-04-20 11:16:43 -07:00
2021-03-30 18:48:56 -07:00
2021-12-10 15:48:30 -08:00
2021-08-23 10:25:51 -07:00
2022-03-22 10:00:31 -07:00
2022-04-20 11:16:43 -07:00
2022-03-22 10:00:31 -07:00