[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PULL 1/7] qcow2: Drop unused cluster_data
From: |
Max Reitz |
Subject: |
[Qemu-devel] [PULL 1/7] qcow2: Drop unused cluster_data |
Date: |
Mon, 9 Jul 2018 20:58:22 +0200 |
From: Fam Zheng <address@hidden>
Reported-by: Max Reitz <address@hidden>
Signed-off-by: Fam Zheng <address@hidden>
Message-id: address@hidden
Reviewed-by: Stefan Hajnoczi <address@hidden>
Signed-off-by: Max Reitz <address@hidden>
---
block/qcow2.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/block/qcow2.c b/block/qcow2.c
index 33b61b7480..d4ba0f781a 100644
--- a/block/qcow2.c
+++ b/block/qcow2.c
@@ -3345,7 +3345,6 @@ qcow2_co_copy_range_to(BlockDriverState *bs,
int ret;
unsigned int cur_bytes; /* number of sectors in current iteration */
uint64_t cluster_offset;
- uint8_t *cluster_data = NULL;
QCowL2Meta *l2meta = NULL;
assert(!bs->encrypted);
@@ -3404,7 +3403,6 @@ fail:
qemu_co_mutex_unlock(&s->lock);
- qemu_vfree(cluster_data);
trace_qcow2_writev_done_req(qemu_coroutine_self(), ret);
return ret;
--
2.17.1
- [Qemu-devel] [PULL 0/7] Block patches for 3.0-rc0, Max Reitz, 2018/07/09
- [Qemu-devel] [PULL 1/7] qcow2: Drop unused cluster_data,
Max Reitz <=
- [Qemu-devel] [PULL 2/7] file-posix: Fix fd_open check in raw_co_copy_range_to, Max Reitz, 2018/07/09
- [Qemu-devel] [PULL 4/7] raw: Drop superfluous semicolon, Max Reitz, 2018/07/09
- [Qemu-devel] [PULL 3/7] qcow2: Drop unreachable break, Max Reitz, 2018/07/09
- [Qemu-devel] [PULL 5/7] vmdk: Fix possible segfault with non-VMDK backing, Max Reitz, 2018/07/09
- [Qemu-devel] [PULL 6/7] iotests: Add VMDK backing file correlation test, Max Reitz, 2018/07/09
- [Qemu-devel] [PULL 7/7] qcow2: add overlap check for bitmap directory, Max Reitz, 2018/07/09
- Re: [Qemu-devel] [PULL 0/7] Block patches for 3.0-rc0, Peter Maydell, 2018/07/10