fsck.f2fs: show missing large_nat_bitmap flag in print_ckpt_info
PATCH 1/1 fsck.f2fs: show missing large_nat_bitmap flag in print_ckpt_info
Previously, we forget to print large_nat_bitmap according to CP flag, fix it.
Signed-off-by Chao Yu <[email protected]>
--- fsck/mount.c | 2 ++ 1 file changed, 2 insertions(+)
fsck/mount.c +2 -0
@@ -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 )
Signature · 6 lines
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