Previously, we forget to print large_nat_bitmap according to CP flag,
fix it.

Signed-off-by: Chao Yu <yuch...@huawei.com>
---
 fsck/mount.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/fsck/mount.c b/fsck/mount.c
index f830e9b1f72a..b4911506cddb 100644
--- a/fsck/mount.c
+++ b/fsck/mount.c
@@ -405,6 +405,8 @@ void print_ckpt_info(struct f2fs_sb_info *sbi)
 void print_cp_state(u32 flag)
 {
        MSG(0, "Info: checkpoint state = %x : ", flag);
+       if (flag & CP_LARGE_NAT_BITMAP_FLAG)
+               MSG(0, "%s", " large_nat_bitmap");
        if (flag & CP_NOCRC_RECOVERY_FLAG)
                MSG(0, "%s", " allow_nocrc");
        if (flag & CP_TRIMMED_FLAG)
-- 
2.18.0.rc1


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Linux-f2fs-devel mailing list
Linux-f2fs-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel

Reply via email to