diff options
author | Josef Bacik <jbacik@fusionio.com> | 2013-02-01 15:18:24 -0500 |
---|---|---|
committer | David Sterba <dsterba@suse.cz> | 2013-02-07 01:19:50 +0100 |
commit | 8795e785ced4b5931bb2c4548d390408fa65e21e (patch) | |
tree | 1921b649eb50683e3e0473f43d9cd8d3fd2783ac | |
parent | 6cba7b1b465530fd754925c35eedbd4794fce1b9 (diff) |
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>
-rw-r--r-- | btrfsck.c | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -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; } |