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

bcachefs: fix mount error path

parent 688d750d
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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));
}