Signed-off-by: Sheng Yong <shengyo...@huawei.com> --- fsck/mount.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fsck/mount.c b/fsck/mount.c index 971fc5a..52dd6c3 100644 --- a/fsck/mount.c +++ b/fsck/mount.c @@ -2353,7 +2353,7 @@ int f2fs_do_mount(struct f2fs_sb_info *sbi) } /* Check nat_bits */ - if (is_set_ckpt_flags(cp, CP_NAT_BITS_FLAG)) { + if (c.func != DUMP && is_set_ckpt_flags(cp, CP_NAT_BITS_FLAG)) { u_int32_t nat_bits_bytes, nat_bits_blocks; __le64 *kaddr; u_int32_t blk; -- 2.11.0 ------------------------------------------------------------------------------ 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