diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2022-11-18 18:21:11 -0500 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2022-11-18 18:21:11 -0500 |
commit | c1f55a60c41ca5ab8ed7a0893c3d29f8006da82a (patch) | |
tree | 6aed1a472dc723feb6447e5495bc8452e21219f5 /libbcachefs/journal_io.c | |
parent | e4716b10ed0210a13efdd3252c12199da3d52aad (diff) |
Update bcachefs sources to 6406e05835 bcachefs: Nocow support
Diffstat (limited to 'libbcachefs/journal_io.c')
-rw-r--r-- | libbcachefs/journal_io.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libbcachefs/journal_io.c b/libbcachefs/journal_io.c index c4922c64..fb7d0bfa 100644 --- a/libbcachefs/journal_io.c +++ b/libbcachefs/journal_io.c @@ -1269,10 +1269,10 @@ int bch2_journal_read(struct bch_fs *c, u64 *blacklist_seq, u64 *start_seq) struct bch_dev *ca = bch_dev_bkey_exists(c, i->ptrs[ptr].dev); if (!i->ptrs[ptr].csum_good) - printk(KERN_ERR "bcachefs (%s) sector %llu: invalid journal checksum, seq %llu%s\n", - ca->name, i->ptrs[ptr].sector, - le64_to_cpu(i->j.seq), - i->csum_good ? " (had good copy on another device)" : ""); + bch_err_dev_offset(ca, i->ptrs[ptr].sector, + "invalid journal checksum, seq %llu%s", + le64_to_cpu(i->j.seq), + i->csum_good ? " (had good copy on another device)" : ""); } ret = jset_validate(c, |