fsck.f2fs: detect and recover corrupted quota file
authorChao Yu <yuchao0@huawei.com>
Wed, 19 Sep 2018 01:28:37 +0000 (09:28 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Wed, 21 Nov 2018 19:38:23 +0000 (11:38 -0800)
commitdfede78aa9182700476803dc5b9fa87c4ca56645
tree6437d29f92b615d8707f04f068f059acd7c47504
parent7aab50d895c8101ef4a3e68bb7c8ca36a92a3f18
fsck.f2fs: detect and recover corrupted quota file

Once quota file is corrupted, kernel will set CP_QUOTA_NEED_FSCK_FLAG
into checkpoint pack, this patch makes fsck supporting to detect the flag
and try to rebuild corrupted quota file.

Signed-off-by: Chao Yu <yuchao0@huawei.com>
fsck/fsck.c
fsck/main.c
fsck/mount.c
include/f2fs_fs.h