Skip to content
Commit f1625637 authored by Kent Overstreet's avatar Kent Overstreet
Browse files

bcachefs: Assert that we don't lock nodes when !trans->locked



We rely on the trans->locked to know if a trans has nodes locked for
assertions about deadlocks; there can't be more than one trans in the
same process that is locked.

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