Btrfs-progs: fix double free of extent buffer
PATCH 1/1 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 <[email protected]>
--- btrfsck.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-)
btrfsck.c +0 -1
@@ -2594,7 +2594,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; }
Signature · 1 line
1.7.7.6