f2fs: introduce f2fs_change_bit to simplify the change bit logic
authorGu Zheng <guz.fnst@cn.fujitsu.com>
Mon, 20 Oct 2014 09:45:50 +0000 (17:45 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Tue, 4 Nov 2014 00:07:36 +0000 (16:07 -0800)
commitc6ac4c0ec416e77cab09cac6cee2d100fbd7fc82
tree24dd196ef82d5a87dc683640fb5366a1d27e19ba
parentfa528722d06ecbee9d918b9eec58c5d4c2978839
f2fs: introduce f2fs_change_bit to simplify the change bit logic

Introduce f2fs_change_bit to simplify the change bit logic in
function set_to_next_nat{sit}.

Signed-off-by: Gu Zheng <guz.fnst@cn.fujitsu.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/f2fs.h
fs/f2fs/node.h
fs/f2fs/segment.h