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:
7822f78
)
e2fsck: Use the correct problem code in the case of LAST_WRITE_FUDGED
author
Theodore Ts'o
<tytso@mit.edu>
Sun, 4 Oct 2009 03:17:45 +0000
(23:17 -0400)
committer
Theodore 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
patch
|
blob
|
history
diff --git
a/e2fsck/super.c
b/e2fsck/super.c
index
2202967
..
c946664
100644
(file)
--- 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);