From: Theodore Ts'o Date: Sun, 4 Oct 2009 03:17:45 +0000 (-0400) Subject: e2fsck: Use the correct problem code in the case of LAST_WRITE_FUDGED X-Git-Tag: v1.41.10~44 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=61a9d2b33e5c7afa4f03d6cc0ed4d81b2caf7023;p=thirdparty%2Fe2fsprogs.git e2fsck: Use the correct problem code in the case of LAST_WRITE_FUDGED Signed-off-by: "Theodore Ts'o" --- diff --git a/e2fsck/super.c b/e2fsck/super.c index 22029674c..c946664b2 100644 --- a/e2fsck/super.c +++ b/e2fsck/super.c @@ -833,7 +833,7 @@ void check_super_block(e2fsck_t ctx) pctx.num = fs->super->s_wtime; problem = PR_0_FUTURE_SB_LAST_WRITE; if (fs->super->s_wtime <= (__u32) ctx->now + ctx->time_fudge) - problem = PR_0_FUTURE_SB_LAST_MOUNT_FUDGED; + problem = PR_0_FUTURE_SB_LAST_WRITE_FUDGED; if (fix_problem(ctx, problem, &pctx)) { fs->super->s_wtime = ctx->now; ext2fs_mark_super_dirty(fs);