summaryrefslogtreecommitdiff
path: root/fs/bcachefs/btree_io.c
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2025-04-15 17:31:47 -0400
committerKent Overstreet <kent.overstreet@linux.dev>2025-05-21 20:14:18 -0400
commitebf561b2083d797da4673207044855ccd764195b (patch)
tree0b686ee7f3a96546fd82dc2a2bee67a018609352 /fs/bcachefs/btree_io.c
parent040c762152f5f4fb1b13e8a46c17ecb4e670d96d (diff)
bcachefs: print_str_as_lines() -> print_str()
bch2_print_string_as_lines() is a low level helper that allows messages longer than 1k to be printed without truncation. But we should always be printing with the helpers that take a filesystem object, if we're in fsck they direct output to the userspace process controlling fsck instead of the dmesg log. Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/btree_io.c')
-rw-r--r--fs/bcachefs/btree_io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/bcachefs/btree_io.c b/fs/bcachefs/btree_io.c
index 4832ac31392a5..b6f5e0dfc9f1b 100644
--- a/fs/bcachefs/btree_io.c
+++ b/fs/bcachefs/btree_io.c
@@ -605,7 +605,7 @@ static int __btree_err(int ret,
}
if (!silent)
- bch2_print_string_as_lines(KERN_ERR, out.buf);
+ bch2_print_str(c, KERN_ERR, out.buf);
out:
fsck_err:
printbuf_exit(&out);