]> git.ipfire.org Git - thirdparty/e2fsprogs.git/commitdiff
e2fsck: remove 'invalid' wording from error when extent block fails checksum
authorDarrick J. Wong <darrick.wong@oracle.com>
Wed, 3 Dec 2014 05:01:44 +0000 (00:01 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Wed, 3 Dec 2014 05:01:44 +0000 (00:01 -0500)
Don't say the physical block number is invalid if an extent block
fails only the checksum.  It passes checks, so it's not invalid.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
e2fsck/problem.c
tests/f_extent_int_bad_csum/expect.1
tests/f_extent_leaf_bad_csum/expect.1

index a4da64b1d62b9990224ac5bde86d29ecd24a175f..a63e61cf1c0f4a7a6410c4f7d0e29d9990f49b64 100644 (file)
@@ -998,7 +998,7 @@ static struct e2fsck_problem problem_table[] = {
         */
        { PR_1_EXTENT_ONLY_CSUM_INVALID,
          N_("@i %i extent block passes checks, but checksum does not match "
-            "extent\n\t(logical @b %c, @n physical @b %b, len %N)\n"),
+            "extent\n\t(logical @b %c, physical @b %b, len %N)\n"),
          PROMPT_FIX, 0 },
 
        /*
index 57a2a614a14153621cf2820ca721abe72b13e5b3..7b412b8a2f76aec2acd549bd26e8c8596b9620d0 100644 (file)
@@ -1,6 +1,6 @@
 Pass 1: Checking inodes, blocks, and sizes
 Inode 12 extent block passes checks, but checksum does not match extent
-       (logical block 698, invalid physical block 1788, len 1)
+       (logical block 698, physical block 1788, len 1)
 Fix? yes
 
 Pass 2: Checking directory structure
index 0dc78ad2ff7642c91b0aa0dc83c8310f2fc780c9..86e501a70631ddf091dfad1abe30839ee49d6b67 100644 (file)
@@ -1,6 +1,6 @@
 Pass 1: Checking inodes, blocks, and sizes
 Inode 12 extent block passes checks, but checksum does not match extent
-       (logical block 7, invalid physical block 1090, len 1)
+       (logical block 7, physical block 1090, len 1)
 Fix? yes
 
 Pass 2: Checking directory structure