mirror of
https://github.com/torvalds/linux.git
synced 2024-11-30 08:01:59 +00:00
bcachefs: Kill incorrect assertion
In the bch2_fs_alloc() error path we call bch2_fs_free() without setting BCH_FS_STOPPING - this is fine. Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
This commit is contained in:
parent
e46c181af9
commit
39791d7de2
@ -585,8 +585,6 @@ void bch2_fs_free(struct bch_fs *c)
|
||||
{
|
||||
unsigned i;
|
||||
|
||||
BUG_ON(!test_bit(BCH_FS_STOPPING, &c->flags));
|
||||
|
||||
mutex_lock(&bch_fs_list_lock);
|
||||
list_del(&c->list);
|
||||
mutex_unlock(&bch_fs_list_lock);
|
||||
|
Loading…
Reference in New Issue
Block a user