Skip to content
Commit aefc1eb1 authored by Jan Schmidt's avatar Jan Schmidt Committed by David Sterba
Browse files

Btrfs: don't call free_extent_buffer twice in iterate_irefs



Avoid calling free_extent_buffer more than once when the iterator function
returns non-zero. The only code that uses this is scrub repair for corrupted
nodatasum blocks.

Signed-off-by: default avatarJan Schmidt <list.btrfs@jan-o-sch.net>
parent 4735fb28
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