Btrfs: don't call free_extent_buffer twice in iterate_irefs
authorJan Schmidt <list.btrfs@jan-o-sch.net>
Fri, 13 Apr 2012 10:28:00 +0000 (12:28 +0200)
committerDavid Sterba <dsterba@suse.cz>
Wed, 18 Apr 2012 17:22:21 +0000 (19:22 +0200)
commitaefc1eb13ebbb86c5ffade8a9e2425cd71032d7e
tree36acddddf6f4b50877b22e683704bc2cbaf4d3b5
parent4735fb282830c0966b301dabcccf4753fa6604bb
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: Jan Schmidt <list.btrfs@jan-o-sch.net>
fs/btrfs/backref.c