projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
85eb2ba
)
bcachefs: Improve error message in bch2_write_super()
author
Kent Overstreet
<kent.overstreet@gmail.com>
Wed, 3 Nov 2021 21:23:49 +0000
(17:23 -0400)
committer
Kent Overstreet
<kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:09:15 +0000
(17:09 -0400)
It's helpful to know what the superblock write is for.
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
fs/bcachefs/super-io.c
patch
|
blob
|
history
diff --git
a/fs/bcachefs/super-io.c
b/fs/bcachefs/super-io.c
index be080c407286de901ade0a3aa5ecb34f5b93d0e2..637408d76270913f2499f89755feec4e729a7b81 100644
(file)
--- a/
fs/bcachefs/super-io.c
+++ b/
fs/bcachefs/super-io.c
@@
-809,7
+809,8
@@
int bch2_write_super(struct bch_fs *c)
!can_mount_with_written ||
(can_mount_without_written &&
!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;
out:
/* Make new options visible after they're persistent: */