mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2025-01-21 05:14:52 +08:00
bcachefs: fix mount error path
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
This commit is contained in:
parent
688d750d10
commit
4bd02d3fb3
@ -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));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user