From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Darrick J. Wong" Subject: [PATCH 23/49] e2fsck: fix the extended attribute checksum error message Date: Mon, 10 Mar 2014 23:56:24 -0700 Message-ID: <20140311065624.30585.88744.stgit@birch.djwong.org> References: <20140311065356.30585.47192.stgit@birch.djwong.org> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Cc: linux-ext4@vger.kernel.org To: tytso@mit.edu, darrick.wong@oracle.com Return-path: Received: from aserp1040.oracle.com ([141.146.126.69]:21699 "EHLO aserp1040.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753643AbaCKG43 (ORCPT ); Tue, 11 Mar 2014 02:56:29 -0400 In-Reply-To: <20140311065356.30585.47192.stgit@birch.djwong.org> Sender: linux-ext4-owner@vger.kernel.org List-ID: Make the "EA block passes checks but fails checksum" message less strange. Signed-off-by: Darrick J. Wong --- e2fsck/problem.c | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/e2fsck/problem.c b/e2fsck/problem.c index 0999399..ec20bd1 100644 --- a/e2fsck/problem.c +++ b/e2fsck/problem.c @@ -992,19 +992,17 @@ static struct e2fsck_problem problem_table[] = { "extent\n\t(logical @b %c, @n physical @b %b, len %N)\n"), PROMPT_FIX, 0 }, - /* Extended attribute block checksum for inode does not match. */ + /* Extended attribute block checksum does not match. */ { PR_1_EA_BLOCK_CSUM_INVALID, - N_("Extended attribute @a @b %b checksum for @i %i does not " - "match. "), + N_("@a @b %b checksum for @i %i does not match. "), PROMPT_CLEAR, PR_INITIAL_CSUM }, /* - * Extended attribute block passes checks, but checksum for inode does - * not match. + * Extended attribute block passes checks, but checksum does not + * match. */ { PR_1_EA_BLOCK_ONLY_CSUM_INVALID, - N_("Extended attribute @a @b %b passes checks, but checksum for " - "@i %i does not match. "), + N_("@a @b %b passes checks, but checksum does not match. "), PROMPT_FIX, 0 }, /*