From: Theodore Ts'o Date: Fri, 16 Mar 2012 15:55:24 +0000 (-0400) Subject: e2fsck: print a notice when we've started suppressing a problem code X-Git-Tag: v1.42.2~27 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=905ac34992252c1bf22e378f8e4c168291a9b881;p=tools%2Fe2fsprogs.git e2fsck: print a notice when we've started suppressing a problem code Signed-off-by: "Theodore Ts'o" --- 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;