summaryrefslogtreecommitdiffstats
path: root/fs/bcachefs
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2024-03-28 01:20:36 -0400
committerKent Overstreet <kent.overstreet@linux.dev>2024-03-31 20:36:10 -0400
commit4bd02d3fb33d8a46e73085b8d47d21c0ccb3de9d (patch)
tree28cfcc9b2197df88c2d9e0ec0559d8cee8802051 /fs/bcachefs
parent688d750d10aa9c4fb71c5154521c775f94c887e0 (diff)
downloadlinux-stable-4bd02d3fb33d8a46e73085b8d47d21c0ccb3de9d.tar.gz
linux-stable-4bd02d3fb33d8a46e73085b8d47d21c0ccb3de9d.tar.bz2
linux-stable-4bd02d3fb33d8a46e73085b8d47d21c0ccb3de9d.zip
bcachefs: fix mount error path
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs')
-rw-r--r--fs/bcachefs/fs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/bcachefs/fs.c b/fs/bcachefs/fs.c
index 0ccee05f6887..b5ea9fa1259d 100644
--- a/fs/bcachefs/fs.c
+++ b/fs/bcachefs/fs.c
@@ -1997,6 +1997,7 @@ out:
return dget(sb->s_root);
err_put_super:
+ __bch2_fs_stop(c);
deactivate_locked_super(sb);
return ERR_PTR(bch2_err_class(ret));
}