Commit 4bd02d3f authored by Kent Overstreet's avatar Kent Overstreet

bcachefs: fix mount error path

Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
parent 688d750d
......@@ -1997,6 +1997,7 @@ static struct dentry *bch2_mount(struct file_system_type *fs_type,
return dget(sb->s_root);
err_put_super:
__bch2_fs_stop(c);
deactivate_locked_super(sb);
return ERR_PTR(bch2_err_class(ret));
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment