Whamcloud - gitweb
git://git.whamcloud.com
/
tools
/
e2fsprogs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0926668
)
Don't display progress bar when rebuilding directories unless
author
Theodore Ts'o
<tytso@mit.edu>
Sat, 15 Mar 2003 09:03:43 +0000
(
04:03
-0500)
committer
Theodore Ts'o
<tytso@mit.edu>
Sat, 15 Mar 2003 09:03:43 +0000
(
04:03
-0500)
explicitly requested by the user.
e2fsck/rehash.c
patch
|
blob
|
history
diff --git
a/e2fsck/rehash.c
b/e2fsck/rehash.c
index
9c185b4
..
d048003
100644
(file)
--- a/
e2fsck/rehash.c
+++ b/
e2fsck/rehash.c
@@
-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)