From: Theodore Ts'o Date: Mon, 19 Feb 2018 02:33:13 +0000 (-0500) Subject: jbd2: clarify bad journal block checksum message X-Git-Tag: v4.17-rc1~134^2~27 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ed65b00f8de1d0687565a1ad6511901a721adb66;p=thirdparty%2Fkernel%2Flinux.git 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 --- diff --git a/fs/jbd2/recovery.c b/fs/jbd2/recovery.c index f99910b69c78d..a4967b27ffb63 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; }