We forgot free raid_map for raid56's map_bio.
This patch add it.
Signed-off-by: Zhao Lei <[email protected]>
---
disk-io.c | 1 +
1 file changed, 1 insertion(+)
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;
}
--
1.8.5.1
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html