f2fs: introduce __find_rev_next(_zero)_bit
authorChangman Lee <cm224.lee@samsung.com>
Fri, 15 Nov 2013 01:42:51 +0000 (10:42 +0900)
committerJaegeuk Kim <jaegeuk.kim@samsung.com>
Mon, 23 Dec 2013 01:17:59 +0000 (10:17 +0900)
commit9a7f143ab529352ebef13d3f0f4a09f13efa9435
treed7448f77582321b621f71ac6124002da2b706d59
parent413541dd66d51f791a0b169d9b9014e4f56be13c
f2fs: introduce __find_rev_next(_zero)_bit

When f2fs_set_bit is used, in a byte MSB and LSB is reversed,
in that case we can use __find_rev_next_bit or __find_rev_next_zero_bit.

Signed-off-by: Changman Lee <cm224.lee@samsung.com>
[Jaegeuk Kim: change the function names]
Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
fs/f2fs/segment.c