projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9e90335
)
bcachefs: Fix rcu imbalance in bch2_fs_btree_key_cache_exit()
author
Kent Overstreet
<kent.overstreet@linux.dev>
Mon, 3 Feb 2025 16:35:11 +0000
(11:35 -0500)
committer
Kent Overstreet
<kent.overstreet@linux.dev>
Fri, 7 Feb 2025 03:35:11 +0000
(22:35 -0500)
Spotted by sparse.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/btree_key_cache.c
patch
|
blob
|
history
diff --git
a/fs/bcachefs/btree_key_cache.c
b/fs/bcachefs/btree_key_cache.c
index
c378b97
..
1821f40
100644
(file)
--- a/
fs/bcachefs/btree_key_cache.c
+++ b/
fs/bcachefs/btree_key_cache.c
@@
-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++)