bcachefs: Improve error message in bch2_write_super()
It's helpful to know what the superblock write is for. Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
This commit is contained in:
parent
85eb2bae7f
commit
d647db314a
@ -809,7 +809,8 @@ int bch2_write_super(struct bch_fs *c)
|
|||||||
!can_mount_with_written ||
|
!can_mount_with_written ||
|
||||||
(can_mount_without_written &&
|
(can_mount_without_written &&
|
||||||
!can_mount_with_written), c,
|
!can_mount_with_written), c,
|
||||||
"Unable to write superblock to sufficient devices"))
|
"Unable to write superblock to sufficient devices (from %ps)",
|
||||||
|
(void *) _RET_IP_))
|
||||||
ret = -1;
|
ret = -1;
|
||||||
out:
|
out:
|
||||||
/* Make new options visible after they're persistent: */
|
/* Make new options visible after they're persistent: */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user