Skip to content

Commit ed65b00

Browse files
committed
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 <[email protected]>
1 parent ccf0f32 commit ed65b00

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

fs/jbd2/recovery.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -600,8 +600,8 @@ static int do_one_pass(journal_t *journal,
600600
success = -EFSBADCRC;
601601
printk(KERN_ERR "JBD2: Invalid "
602602
"checksum recovering "
603-
"block %llu in log\n",
604-
blocknr);
603+
"data block %llu in "
604+
"log\n", blocknr);
605605
block_error = 1;
606606
goto skip_write;
607607
}

0 commit comments

Comments
 (0)