OSDN Git Service
(root)
/
android-x86
/
external-e2fsprogs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b9a64a5
)
e2fsck: print a notice when we've started suppressing a problem code
author
Theodore Ts'o
<tytso@mit.edu>
Fri, 16 Mar 2012 15:55:24 +0000
(11:55 -0400)
committer
Theodore Ts'o
<tytso@mit.edu>
Fri, 16 Mar 2012 16:00:17 +0000
(12:00 -0400)
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
53e8e11
..
7d5b10d
100644
(file)
--- a/
e2fsck/problem.c
+++ b/
e2fsck/problem.c
@@
-1868,6
+1868,11
@@
int fix_problem(e2fsck_t ctx, problem_t code, struct problem_context *pctx)
if ((ptr->flags & PR_LATCH_MASK) &&
(ldesc->flags & (PRL_YES | PRL_NO)))
suppress++;
+ if (ptr->count == ptr->max_count + 1) {
+ printf("...problem 0x%06x suppressed\n",
+ ptr->e2p_code);
+ fflush(stdout);
+ }
}
if (!suppress) {
message = ptr->e2p_description;