f2fs: allow to recover node blocks given updated checkpoint
authorJaegeuk Kim <jaegeuk@kernel.org>
Fri, 19 Jan 2018 21:42:33 +0000 (13:42 -0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Sat, 27 Jan 2018 21:30:38 +0000 (13:30 -0800)
commit6271336cfa806aa60d9e6465529f783c919186d2
tree0cea47252a70b2f5ef63e8ef4f4ea8bb05b4e723
parente003a2d15352d59d78f992f8938abcac8f05247e
f2fs: allow to recover node blocks given updated checkpoint

If fsck.f2fs changes crc, we have no way to recover some inode blocks by roll-
forward recovery. Let's relax the condition to recover them.

Reviewed-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/checkpoint.c
fs/f2fs/node.h
include/linux/f2fs_fs.h