mirror of
https://git.kernel.org/pub/scm/fs/ext2/e2fsprogs.git
synced 2024-11-24 10:33:35 +08:00
Don't display progress bar when rebuilding directories unless
explicitly requested by the user.
This commit is contained in:
parent
0926668d3a
commit
52734dc532
@ -807,8 +807,9 @@ void e2fsck_rehash_directories(e2fsck_t ctx)
|
||||
end_problem_latch(ctx, PR_LATCH_OPTIMIZE_DIR);
|
||||
fix_problem(ctx, PR_3A_OPTIMIZE_DIR_ERR, &pctx);
|
||||
}
|
||||
e2fsck_simple_progress(ctx, "Rebuilding directory",
|
||||
(float) (++cur) / (float) max, ino);
|
||||
if (ctx->progress && !ctx->progress_fd)
|
||||
e2fsck_simple_progress(ctx, "Rebuilding directory",
|
||||
(float) (++cur) / (float) max, ino);
|
||||
}
|
||||
end_problem_latch(ctx, PR_LATCH_OPTIMIZE_DIR);
|
||||
if (!all_dirs)
|
||||
|
Loading…
Reference in New Issue
Block a user