summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2025-07-02 15:53:20 -0400
committerKent Overstreet <kent.overstreet@linux.dev>2025-07-03 01:20:19 -0400
commitc8b5d5a9c85b1e79f5c1ee5d825c2ebded636674 (patch)
treeea9f3c4698f4a4929de7e47bb2c98fe9234c7b0b
parentdd7c16607010df4839ec9a31dd5957af759b8e50 (diff)
bcachefs: Add missing bch2_log_msg_start()
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
-rw-r--r--fs/bcachefs/journal_io.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/bcachefs/journal_io.c b/fs/bcachefs/journal_io.c
index 3f06c4b29552..2d6ce4348a22 100644
--- a/fs/bcachefs/journal_io.c
+++ b/fs/bcachefs/journal_io.c
@@ -1245,6 +1245,8 @@ noinline_for_stack
static void bch2_journal_print_checksum_error(struct bch_fs *c, struct journal_replay *j)
{
struct printbuf buf = PRINTBUF;
+ bch2_log_msg_start(c, &buf);
+
enum bch_csum_type csum_type = JSET_CSUM_TYPE(&j->j);
bool have_good = false;