f2fs: use for_each_set_bit to simplify the code
authorChao Yu <chao2.yu@samsung.com>
Mon, 4 Aug 2014 02:10:07 +0000 (10:10 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Mon, 4 Aug 2014 20:20:53 +0000 (13:20 -0700)
commitb65ee14818e67127aa242fe1dbd3711b9c095cc0
tree7784dd17a2672c2e5860e5c2418b79e4245690be
parent497a0930bb4bd148451e1af239a082e3916b681b
f2fs: use for_each_set_bit to simplify the code

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>
fs/f2fs/gc.c
fs/f2fs/segment.c