aboutsummaryrefslogtreecommitdiffstats
path: root/disk-io.c
diff options
context:
space:
mode:
authorZhao Lei <zhaolei@cn.fujitsu.com>2015-08-25 14:11:07 +0800
committerDavid Sterba <dsterba@suse.com>2015-08-31 19:25:12 +0200
commit919d2becc8a5a894d8d95e8e1b3ac8d7fb54035f (patch)
tree01d9b81835750543c331d79bda12fb8fb51d57a4 /disk-io.c
parent7fc612e6caa4799070f621e8d45eeac4d0a2da96 (diff)
downloadbtrfs-progs-919d2becc8a5a894d8d95e8e1b3ac8d7fb54035f.tar.gz
btrfs-progs-919d2becc8a5a894d8d95e8e1b3ac8d7fb54035f.tar.xz
btrfs-progs-919d2becc8a5a894d8d95e8e1b3ac8d7fb54035f.zip
btrfs-progs: add missing free operation of raid_map for raid56
We forgot free raid_map for raid56's map_bio. This patch add it. Signed-off-by: Zhao Lei <zhaolei@cn.fujitsu.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'disk-io.c')
-rw-r--r--disk-io.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/disk-io.c b/disk-io.c
index fdcfd6d..46a5a46 100644
--- a/disk-io.c
+++ b/disk-io.c
@@ -428,6 +428,7 @@ int write_and_map_eb(struct btrfs_trans_handle *trans,
ret = write_extent_to_disk(eb);
BUG_ON(ret);
}
+ kfree(raid_map);
kfree(multi);
return 0;
}