Commit e1d29c5f authored by Kent Overstreet's avatar Kent Overstreet
Browse files

bcachefs: Ensure bch2_btree_node_get() calls relock() after unlock()



Fix a bug where bch2_btree_node_get() might call bch2_trans_unlock() (in
fill) without calling bch2_trans_relock(); this is a bug when it's done
in the core btree code.

Also, twea bch2_btree_node_mem_alloc() to drop btree locks before doing
a blocking memory allocation.

Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
parent 70d41c9e
Supports Markdown
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