mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-15 16:24:13 +08: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 @@ retry:
|
||||
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 @@ got_super:
|
||||
|
||||
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 @@ out:
|
||||
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 New Issue
Block a user