Commit e829b717 authored by Kent Overstreet's avatar Kent Overstreet Committed by Kent Overstreet
Browse files

bcachefs: Ensure btree_iter_traverse() obeys iter->should_be_locked



iter->should_be_locked means that if bch2_btree_iter_relock() fails, we
need to restart the transaction.

Signed-off-by: default avatarKent Overstreet <kent.overstreet@gmail.com>
parent b4e09b35
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