Commit 8aaee94d authored by Kent Overstreet's avatar Kent Overstreet
Browse files

bcachefs: Fix a deadlock in btree_update_nodes_written()



btree_node_lock_nopath() is something we'd like to get rid of, it's
always prone to deadlocks if we accidentally are holding other locks,
because it doesn't mark the lock it's taking in a path: we'll want to
get rid of it in the future, but for now this patch works it by calling
bch2_trans_unlock().

Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
parent 13bc41a7
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