Whamcloud - gitweb
e2fsck: Use the correct problem code in the case of LAST_WRITE_FUDGED
authorTheodore Ts'o <tytso@mit.edu>
Sun, 4 Oct 2009 03:17:45 +0000 (23:17 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Sun, 4 Oct 2009 03:17:45 +0000 (23:17 -0400)
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
e2fsck/super.c

index 2202967..c946664 100644 (file)
@@ -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);