summaryrefslogtreecommitdiff
path: root/fs/jbd2
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2018-02-18 21:33:13 -0500
committerTheodore Ts'o <tytso@mit.edu>2018-02-18 21:33:13 -0500
commited65b00f8de1d0687565a1ad6511901a721adb66 (patch)
treece79135f59a3130618ad5a3307cf188348d31072 /fs/jbd2
parentccf0f32acd436b9e554303fd571f1bbf5f49d8e2 (diff)
downloadlwn-ed65b00f8de1d0687565a1ad6511901a721adb66.tar.gz
lwn-ed65b00f8de1d0687565a1ad6511901a721adb66.zip
jbd2: clarify bad journal block checksum message
There were two error messages emitted by jbd2, one for a bad checksum for a jbd2 descriptor block, and one for a bad checksum for a jbd2 data block. Change the data block checksum error so that the two can be disambiguated. Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'fs/jbd2')
-rw-r--r--fs/jbd2/recovery.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/jbd2/recovery.c b/fs/jbd2/recovery.c
index f99910b69c78..a4967b27ffb6 100644
--- a/fs/jbd2/recovery.c
+++ b/fs/jbd2/recovery.c
@@ -600,8 +600,8 @@ static int do_one_pass(journal_t *journal,
success = -EFSBADCRC;
printk(KERN_ERR "JBD2: Invalid "
"checksum recovering "
- "block %llu in log\n",
- blocknr);
+ "data block %llu in "
+ "log\n", blocknr);
block_error = 1;
goto skip_write;
}