diff options
| author | Kent Overstreet <kent.overstreet@linux.dev> | 2025-04-15 17:31:47 -0400 |
|---|---|---|
| committer | Kent Overstreet <kent.overstreet@linux.dev> | 2025-05-21 20:14:18 -0400 |
| commit | ebf561b2083d797da4673207044855ccd764195b (patch) | |
| tree | 0b686ee7f3a96546fd82dc2a2bee67a018609352 /fs/bcachefs/journal_io.c | |
| parent | bcachefs: bch2_dev_missing_bkey() (diff) | |
| download | linux-ebf561b2083d797da4673207044855ccd764195b.tar.gz linux-ebf561b2083d797da4673207044855ccd764195b.zip | |
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/journal_io.c')
| -rw-r--r-- | fs/bcachefs/journal_io.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/bcachefs/journal_io.c b/fs/bcachefs/journal_io.c index ded18a94ed02..28fa381cd589 100644 --- a/fs/bcachefs/journal_io.c +++ b/fs/bcachefs/journal_io.c @@ -2107,7 +2107,7 @@ CLOSURE_CALLBACK(bch2_journal_write) le64_to_cpu(w->data->seq), vstruct_sectors(w->data, c->block_bits), bch2_err_str(ret)); - bch2_print_string_as_lines(KERN_ERR, buf.buf); + bch2_print_str(c, KERN_ERR, buf.buf); printbuf_exit(&buf); } if (ret) |
