add patch always-load-checksum-driver
[ext4-patch-queue.git] / jbd2-clarify-recovery-checksum-error-msg
blob97ab9d229e482e60c25cc64fd7434e493d8c7d45
1 jbd2: clarify bad journal block checksum message
3 There were two error messages emitted by jbd2, one for a bad checksum
4 for a jbd2 descriptor block, and one for a bad checksum for a jbd2
5 data block.  Change the data block checksum error so that the two can
6 be disambiguated.
8 Signed-off-by: Theodore Ts'o <tytso@mit.edu>
9 ---
10  fs/jbd2/recovery.c | 4 ++--
11  1 file changed, 2 insertions(+), 2 deletions(-)
13 diff --git a/fs/jbd2/recovery.c b/fs/jbd2/recovery.c
14 index f99910b69c78..a4967b27ffb6 100644
15 --- a/fs/jbd2/recovery.c
16 +++ b/fs/jbd2/recovery.c
17 @@ -600,8 +600,8 @@ static int do_one_pass(journal_t *journal,
18                                                 success = -EFSBADCRC;
19                                                 printk(KERN_ERR "JBD2: Invalid "
20                                                        "checksum recovering "
21 -                                                      "block %llu in log\n",
22 -                                                      blocknr);
23 +                                                      "data block %llu in "
24 +                                                      "log\n", blocknr);
25                                                 block_error = 1;
26                                                 goto skip_write;
27                                         }