Skip to content

Commit

Permalink
jbd2: clarify bad journal block checksum message
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Theodore Ts'o committed Feb 19, 2018
1 parent ccf0f32 commit ed65b00
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fs/jbd2/recovery.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit ed65b00

Please sign in to comment.