fsck.f2fs: write back last cp block in the end
authorYunlei He <heyunlei@huawei.com>
Wed, 23 Aug 2017 04:13:04 +0000 (12:13 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Tue, 29 Aug 2017 17:04:00 +0000 (10:04 -0700)
commit8d9885de45c2f6f80729851ad83bfc9aa07a6ca3
tree0223560e425ebcd93eed355c6f7b23fbaba45c9f
parent410ee3b2ea33166d7235219719e91fe6f407d121
fsck.f2fs: write back last cp block in the end

Write back last cp block in the end in case of sudden power off
during fsck process

Signed-off-by: Yunlei He <heyunlei@huawei.com>
Reviewed-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fsck/mount.c