Commit 7573041a authored by Kent Overstreet's avatar Kent Overstreet
Browse files

bcachefs: Fix bch2_mount error path



In the bch2_mount() error path, we were calling
deactivate_locked_super(), which calls ->kill_sb(), which in our case
was calling bch2_fs_free() without __bch2_fs_stop().

This changes bch2_mount() to just call bch2_fs_stop() directly.

Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
parent adc0e950
Supports Markdown
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