From 905ac34992252c1bf22e378f8e4c168291a9b881 Mon Sep 17 00:00:00 2001 From: Theodore Ts'o Date: Fri, 16 Mar 2012 11:55:24 -0400 Subject: [PATCH] e2fsck: print a notice when we've started suppressing a problem code Signed-off-by: "Theodore Ts'o" --- e2fsck/problem.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/e2fsck/problem.c b/e2fsck/problem.c index 53e8e11..7d5b10d 100644 --- 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; -- 1.8.3.1