Skip to content

Commit 01ccee2

Browse files
author
Kent Overstreet
committed
bcachefs: Add missing printk newlines
This was causing error messages in -tools to not get printed. Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
1 parent 5a53f85 commit 01ccee2

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

fs/bcachefs/super-io.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -721,7 +721,7 @@ int bch2_read_super(const char *path, struct bch_opts *opts,
721721
if (opt_defined(*opts, sb))
722722
goto err;
723723

724-
printk(KERN_ERR "bcachefs (%s): error reading default superblock: %s",
724+
printk(KERN_ERR "bcachefs (%s): error reading default superblock: %s\n",
725725
path, err.buf);
726726
printbuf_reset(&err);
727727

@@ -783,15 +783,15 @@ int bch2_read_super(const char *path, struct bch_opts *opts,
783783

784784
ret = bch2_sb_validate(sb, &err, READ);
785785
if (ret) {
786-
printk(KERN_ERR "bcachefs (%s): error validating superblock: %s",
786+
printk(KERN_ERR "bcachefs (%s): error validating superblock: %s\n",
787787
path, err.buf);
788788
goto err_no_print;
789789
}
790790
out:
791791
printbuf_exit(&err);
792792
return ret;
793793
err:
794-
printk(KERN_ERR "bcachefs (%s): error reading superblock: %s",
794+
printk(KERN_ERR "bcachefs (%s): error reading superblock: %s\n",
795795
path, err.buf);
796796
err_no_print:
797797
bch2_free_super(sb);

0 commit comments

Comments
 (0)