diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2024-07-03 19:58:34 +0300 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2024-07-10 16:53:39 +0300 |
commit | 0f1f7324da0a65c823f16c0abae3bf2c18ee43e7 (patch) | |
tree | c04c8b8255d38f7a80fe914e29ddbefc685d031e /fs | |
parent | 8ed58789fc43343d5a55565b204db40a514c06fc (diff) | |
download | linux-0f1f7324da0a65c823f16c0abae3bf2c18ee43e7.tar.xz |
bcachefs: Log mount failure error code
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/bcachefs/fs.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/bcachefs/fs.c b/fs/bcachefs/fs.c index 98238da7c8c1..74a1e12a7a14 100644 --- 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 |