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:
60702c2
)
e2fsck: Don't mark the filesystem invalid because of time errors
author
Theodore Ts'o
<tytso@mit.edu>
Sun, 23 Sep 2007 12:20:51 +0000
(08:20 -0400)
committer
Theodore Ts'o
<tytso@mit.edu>
Sun, 23 Sep 2007 12:20:51 +0000
(08:20 -0400)
If superblock mount time or last write time is in the future, and the
user refuses to fix the problem, don't mark the filesystem as being
invalid and needing to be checked.
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
e2fsck/problem.c
patch
|
blob
|
history
diff --git
a/e2fsck/problem.c
b/e2fsck/problem.c
index
0b6fd39
..
7c3ebea
100644
(file)
--- a/
e2fsck/problem.c
+++ b/
e2fsck/problem.c
@@
-335,12
+335,12
@@
static struct e2fsck_problem problem_table[] = {
/* Last mount time is in the future */
{ PR_0_FUTURE_SB_LAST_MOUNT,
N_("@S last mount time is in the future. "),
- PROMPT_FIX, PR_PREEN_OK },
+ PROMPT_FIX, PR_PREEN_OK
| PR_NO_OK
},
/* Last write time is in the future */
{ PR_0_FUTURE_SB_LAST_WRITE,
N_("@S last write time is in the future. "),
- PROMPT_FIX, PR_PREEN_OK },
+ PROMPT_FIX, PR_PREEN_OK
| PR_NO_OK
},
{ PR_0_EXTERNAL_JOURNAL_HINT,
N_("@S hint for external superblock @s %X. "),