projects
/
linux-2.6-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8ed5878
)
bcachefs: Log mount failure error code
author
Kent Overstreet
<kent.overstreet@linux.dev>
Wed, 3 Jul 2024 16:58:34 +0000
(12:58 -0400)
committer
Kent Overstreet
<kent.overstreet@linux.dev>
Wed, 10 Jul 2024 13:53:39 +0000
(09:53 -0400)
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/fs.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/bcachefs/fs.c
b/fs/bcachefs/fs.c
index 98238da7c8c119c48d6917ec1db37acc21e128df..74a1e12a7a1484dfc35c0c110726d11d711a7012 100644
(file)
--- a/
fs/bcachefs/fs.c
+++ b/
fs/bcachefs/fs.c
@@
-2032,6
+2032,8
@@
err_put_super:
__bch2_fs_stop(c);
deactivate_locked_super(sb);
err:
+ if (ret)
+ pr_err("error: %s", bch2_err_str(ret));
/*
* On an inconsistency error in recovery we might see an -EROFS derived
* errorcode (from the journal), but we don't want to return that to