Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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;
					}