f2fs: use for_each_set_bit to simplify the code

commit b65ee14818 upstream.

This patch uses for_each_set_bit to simplify some codes in f2fs.

Signed-off-by: Chao Yu <chao2.yu@samsung.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
This commit is contained in:
Chao Yu 2014-08-04 10:10:07 +08:00 • committed by Ben Hutchings
commit 9d38c630f5
2 changed files with 6 additions and 14 deletions