Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit 1841027c authored by Kent Overstreet's avatar Kent Overstreet
Browse files

bcachefs: bch2_gc_btree() should not use btree_root_lock


btree_root_lock is for the root keys in btree_root, not the pointers to
the nodes themselves; this fixes a lock ordering issue between
btree_root_lock and btree node locks.

Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
parent f236ea4b
No related merge requests found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment