Commit 3539880e authored by Kent Overstreet's avatar Kent Overstreet
Browse files

bcachefs: Fix rcu imbalance in bch2_fs_btree_key_cache_exit()



Spotted by sparse.

Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
parent 9e903352
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -748,7 +748,6 @@ void bch2_fs_btree_key_cache_exit(struct btree_key_cache *bc)
				rcu_read_unlock();
				mutex_lock(&bc->table.mutex);
				mutex_unlock(&bc->table.mutex);
				rcu_read_lock();
				continue;
			}
			for (i = 0; i < tbl->size; i++)