f2fs: introduce need_do_checkpoint for readability
authorChao Yu <chao2.yu@samsung.com>
Wed, 20 Aug 2014 10:37:35 +0000 (18:37 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Thu, 21 Aug 2014 20:57:07 +0000 (13:57 -0700)
commit9d1589ef2edeb4565161771bd0faf3fd5288844b
tree4bf083c8744941f2dbcf71638cb427b2c73a2a8c
parentc200b1aa6cb460ce8c3ecf6fdc690d3949c3cc5d
f2fs: introduce need_do_checkpoint for readability

This patch introduce need_do_checkpoint() to include numerous judgment condition
for readability.

Signed-off-by: Chao Yu <chao2.yu@samsung.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/file.c