summaryrefslogtreecommitdiff
path: root/e2fsck/pass3.c
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>1998-02-16 22:34:46 +0000
committerTheodore Ts'o <tytso@mit.edu>1998-02-16 22:34:46 +0000
commit4313932cd77c9323fbfe4cacf4d1dc84c95a39de (patch)
tree6528df441d8a7ee869548595020dac89024f31d8 /e2fsck/pass3.c
parent92bcc595dcb31ad15e12d8c72e6edfc70545c204 (diff)
downloade2fsprogs-4313932cd77c9323fbfe4cacf4d1dc84c95a39de.tar.gz
ChangeLog, e2fsck.8.in, e2fsck.h, pass3.c, pass4.c, super.c:
e2fsck.h: Add new field, priv_data to the e2fsck context structure. It should be used by callers of the e2fsck functions only, and not by anything in e2fsck itself. super.c: Instead of call ext2fs_get_device_size(), define and call e2fsck_get_device_size(). (This function may be stubbed out in special versions of e2fsck.) pass3.c, pass4.c: Remove extra calls to the progress function that weren't needed. mke2fs.8.in: Update man page to note that the format of the bad block file is the same as the one generated by badblocks.
Diffstat (limited to 'e2fsck/pass3.c')
-rw-r--r--e2fsck/pass3.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/e2fsck/pass3.c b/e2fsck/pass3.c
index 817bf087..f4ab6123 100644
--- a/e2fsck/pass3.c
+++ b/e2fsck/pass3.c
@@ -112,8 +112,6 @@ void e2fsck_pass3(e2fsck_t ctx)
max = e2fsck_get_num_dirinfo(ctx);
count = 0;
- if (ctx->progress)
- (ctx->progress)(ctx, 3, 0, max);
for (i=0; (dir = e2fsck_dir_info_iter(ctx, &i)) != 0;) {
if (ctx->progress)
(ctx->progress)(ctx, 3, count++, max);