From: "Dilger, Andreas" <andreas.dilger@intel.com>
To: "tytso@mit.edu" <tytso@mit.edu>
Cc: "linux-ext4@vger.kernel.org" <linux-ext4@vger.kernel.org>
Subject: Re: [PATCH] e2fsck: fix problem comments to match actual message
Date: Tue, 22 Oct 2013 04:12:51 +0000 [thread overview]
Message-ID: <CE8B568C.789CE%andreas.dilger@intel.com> (raw)
In-Reply-To: <1382414047-93725-1-git-send-email-andreas.dilger@intel.com>
On 2013/10/21 9:54 PM, "Dilger, Andreas" <andreas.dilger@intel.com> wrote:
>Fix the e2fsck problem comments to match the actual message printed,
>so that it is possible to find the problem code when searching by
>the message.
Ted,
have you thought about getting rid of the error message compression in
e2fsck? I think the compression isn't useful anymore, and the escape
codes makes it much harder to debug and understand the code.
Cheers, Andreas
>Signed-off-by: Andreas Dilger <andreas.dilger@intel.com>
>---
> e2fsck/problem.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
>diff --git a/e2fsck/problem.c b/e2fsck/problem.c
>index b0a6e19..2a6c937 100644
>--- a/e2fsck/problem.c
>+++ b/e2fsck/problem.c
>@@ -1118,12 +1118,12 @@ static struct e2fsck_problem problem_table[] = {
> N_("@n @i number for '.' in @d @i %i.\n"),
> PROMPT_FIX, 0 },
>
>- /* Directory entry has bad inode number */
>+ /* Entry 'xxxx' in /a/b/c has bad inode number.*/
> { PR_2_BAD_INO,
> N_("@E has @n @i #: %Di.\n"),
> PROMPT_CLEAR, 0 },
>
>- /* Directory entry has deleted or unused inode */
>+ /* Entry 'xxxx' in /a/b/c has deleted/unused inode nnnnn.*/
> { PR_2_UNUSED_INODE,
> N_("@E has @D/unused @i %Di. "),
> PROMPT_CLEAR, PR_PREEN_OK },
>--
>1.7.11.5
>
>
Cheers, Andreas
--
Andreas Dilger
Lustre Software Architect
Intel High Performance Data Division
next prev parent reply other threads:[~2013-10-22 4:12 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-10-22 3:54 [PATCH] e2fsck: fix problem comments to match actual message Andreas Dilger
2013-10-22 4:12 ` Dilger, Andreas [this message]
2013-12-12 1:11 ` Theodore Ts'o
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CE8B568C.789CE%andreas.dilger@intel.com \
--to=andreas.dilger@intel.com \
--cc=linux-ext4@vger.kernel.org \
--cc=tytso@mit.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.