Commit 3bce1383 authored by Kent Overstreet's avatar Kent Overstreet
Browse files

bcachefs: Fix for_each_btree_key2()



Previously, when we exited from the loop body with a break statement
_ret wouldn't have been assigned to yet, and we could spuriously return
a transaction restart error.

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