mirror of
https://github.com/torvalds/linux
synced 2024-09-20 02:57:25 +00:00
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>
This commit is contained in:
parent
5a53f851e6
commit
01ccee225a
|
@ -721,7 +721,7 @@ int bch2_read_super(const char *path, struct bch_opts *opts,
|
|||
if (opt_defined(*opts, sb))
|
||||
goto err;
|
||||
|
||||
printk(KERN_ERR "bcachefs (%s): error reading default superblock: %s",
|
||||
printk(KERN_ERR "bcachefs (%s): error reading default superblock: %s\n",
|
||||
path, err.buf);
|
||||
printbuf_reset(&err);
|
||||
|
||||
|
@ -783,7 +783,7 @@ int bch2_read_super(const char *path, struct bch_opts *opts,
|
|||
|
||||
ret = bch2_sb_validate(sb, &err, READ);
|
||||
if (ret) {
|
||||
printk(KERN_ERR "bcachefs (%s): error validating superblock: %s",
|
||||
printk(KERN_ERR "bcachefs (%s): error validating superblock: %s\n",
|
||||
path, err.buf);
|
||||
goto err_no_print;
|
||||
}
|
||||
|
@ -791,7 +791,7 @@ int bch2_read_super(const char *path, struct bch_opts *opts,
|
|||
printbuf_exit(&err);
|
||||
return ret;
|
||||
err:
|
||||
printk(KERN_ERR "bcachefs (%s): error reading superblock: %s",
|
||||
printk(KERN_ERR "bcachefs (%s): error reading superblock: %s\n",
|
||||
path, err.buf);
|
||||
err_no_print:
|
||||
bch2_free_super(sb);
|
||||
|
|
Loading…
Reference in a new issue