Skip to content

Commit 3539880

Browse files
author
Kent Overstreet
committed
bcachefs: Fix rcu imbalance in bch2_fs_btree_key_cache_exit()
Spotted by sparse. Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
1 parent 9e90335 commit 3539880

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

fs/bcachefs/btree_key_cache.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -748,7 +748,6 @@ void bch2_fs_btree_key_cache_exit(struct btree_key_cache *bc)
748748
rcu_read_unlock();
749749
mutex_lock(&bc->table.mutex);
750750
mutex_unlock(&bc->table.mutex);
751-
rcu_read_lock();
752751
continue;
753752
}
754753
for (i = 0; i < tbl->size; i++)

0 commit comments

Comments
 (0)