f2fs: do checkpoint when umount flag is not set
authorJaegeuk Kim <jaegeuk@kernel.org>
Thu, 15 Jan 2015 01:41:41 +0000 (17:41 -0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Thu, 12 Feb 2015 01:04:33 +0000 (17:04 -0800)
commit85dc2f2c6c84e99e9864ef660f79683aaad85f42
tree2e6826d9bc961294e7cbfc08791273aca2beb0b7
parent30a5537f9a9e91937aad6a47f55683f7ce0be257
f2fs: do checkpoint when umount flag is not set

If the previous checkpoint was done without CP_UMOUNT flag, it needs to do
checkpoint with CP_UMOUNT for the next fast boot.

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