fsck.f2fs: fix broken file_map output
PATCH 1/1 fsck.f2fs: fix broken file_map output
The new fsck progress should not be used for file_map.
Reported-by Michael Benedict <[email protected]>
Signed-off-by Jaegeuk Kim <[email protected]>
--- fsck/fsck.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
fsck/fsck.c +1 -1
@@ -498,7 +498,7 @@ static int sanity_check_nid(struct f2fs_sb_info *sbi, u32 nid, fsck->chk.valid_node_cnt++;/* Progress report */ -if (sbi->total_valid_node_count >1000 ) { +if (!c.show_file_map && sbi->total_valid_node_count >1000 ) {unsigned int p10 = sbi->total_valid_node_count /10 ;if (sbi->fsck->chk.checked_node_cnt++ % p10)
Signature · 8 lines
2.36.0.550.gb090851708-goog _______________________________________________ Linux-f2fs-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel