Commit ed65b00f authored by Theodore Ts'o's avatar Theodore Ts'o

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: default avatarTheodore Ts'o <tytso@mit.edu>
parent ccf0f32a
...@@ -600,8 +600,8 @@ static int do_one_pass(journal_t *journal, ...@@ -600,8 +600,8 @@ static int do_one_pass(journal_t *journal,
success = -EFSBADCRC; success = -EFSBADCRC;
printk(KERN_ERR "JBD2: Invalid " printk(KERN_ERR "JBD2: Invalid "
"checksum recovering " "checksum recovering "
"block %llu in log\n", "data block %llu in "
blocknr); "log\n", blocknr);
block_error = 1; block_error = 1;
goto skip_write; goto skip_write;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment