bcachefs: Fix rcu imbalance in bch2_fs_btree_key_cache_exit()
Spotted by sparse. Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
This commit is contained in:
parent
9e9033522a
commit
3539880ef1
1 changed files with 0 additions and 1 deletions
|
@ -748,7 +748,6 @@ void bch2_fs_btree_key_cache_exit(struct btree_key_cache *bc)
|
||||||
rcu_read_unlock();
|
rcu_read_unlock();
|
||||||
mutex_lock(&bc->table.mutex);
|
mutex_lock(&bc->table.mutex);
|
||||||
mutex_unlock(&bc->table.mutex);
|
mutex_unlock(&bc->table.mutex);
|
||||||
rcu_read_lock();
|
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
for (i = 0; i < tbl->size; i++)
|
for (i = 0; i < tbl->size; i++)
|
||||||
|
|
Loading…
Add table
Reference in a new issue