Btrfs-progs: fix double free of extent buffer

Noticed this while looking for an segfault related to our eb cache in
btrfsck.  We free the eb in out: so we don't need this extra free.  Thanks,

Signed-off-by: Josef Bacik <jbacik@fusionio.com>
This commit is contained in:
Josef Bacik 2013-02-01 15:18:24 -05:00 committed by David Sterba
parent 6cba7b1b46
commit 8795e785ce
1 changed files with 0 additions and 1 deletions

View File

@ -2651,7 +2651,6 @@ static int run_next_block(struct btrfs_root *root,
if (!extent_buffer_uptodate(buf)) {
record_bad_block_io(root->fs_info,
extent_cache, bytenr, size);
free_extent_buffer(buf);
goto out;
}