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

bcachefs: set_btree_iter_dontneed also clears should_be_locked



This is part of a larger series cleaning up the semantics of
should_be_locked and adding assertions around it; if we don't need an
iterator/path anymore, it clearly doesn't need to be locked.

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