* [Qemu-devel] [PATCH] block/qcow2.c : call qcow2_free_snapshots in the function of qcow2_close
@ 2011-12-07 9:25 Li Zhi Hui
2011-12-07 10:13 ` Stefan Hajnoczi
2011-12-07 10:20 ` Kevin Wolf
0 siblings, 2 replies; 3+ messages in thread
From: Li Zhi Hui @ 2011-12-07 9:25 UTC (permalink / raw)
To: qemu-devel; +Cc: kwolf, Li Zhi Hui, stefanha
Signed-off-by: Li Zhi Hui <zhihuili@linux.vnet.ibm.com>
---
block/qcow2.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/block/qcow2.c b/block/qcow2.c
index 37cd442..aa32e8d 100644
--- a/block/qcow2.c
+++ b/block/qcow2.c
@@ -635,6 +635,7 @@ static void qcow2_close(BlockDriverState *bs)
g_free(s->cluster_cache);
qemu_vfree(s->cluster_data);
qcow2_refcount_close(bs);
+ qcow2_free_snapshots(bs);
}
static void qcow2_invalidate_cache(BlockDriverState *bs)
--
1.7.4.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [Qemu-devel] [PATCH] block/qcow2.c : call qcow2_free_snapshots in the function of qcow2_close
2011-12-07 9:25 [Qemu-devel] [PATCH] block/qcow2.c : call qcow2_free_snapshots in the function of qcow2_close Li Zhi Hui
@ 2011-12-07 10:13 ` Stefan Hajnoczi
2011-12-07 10:20 ` Kevin Wolf
1 sibling, 0 replies; 3+ messages in thread
From: Stefan Hajnoczi @ 2011-12-07 10:13 UTC (permalink / raw)
To: Li Zhi Hui; +Cc: kwolf, qemu-devel, stefanha
On Wed, Dec 7, 2011 at 9:25 AM, Li Zhi Hui <zhihuili@linux.vnet.ibm.com> wrote:
> Signed-off-by: Li Zhi Hui <zhihuili@linux.vnet.ibm.com>
> ---
> block/qcow2.c | 1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
Reviewed-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Qemu-devel] [PATCH] block/qcow2.c : call qcow2_free_snapshots in the function of qcow2_close
2011-12-07 9:25 [Qemu-devel] [PATCH] block/qcow2.c : call qcow2_free_snapshots in the function of qcow2_close Li Zhi Hui
2011-12-07 10:13 ` Stefan Hajnoczi
@ 2011-12-07 10:20 ` Kevin Wolf
1 sibling, 0 replies; 3+ messages in thread
From: Kevin Wolf @ 2011-12-07 10:20 UTC (permalink / raw)
To: Li Zhi Hui; +Cc: qemu-devel, stefanha
Am 07.12.2011 10:25, schrieb Li Zhi Hui:
> Signed-off-by: Li Zhi Hui <zhihuili@linux.vnet.ibm.com>
> ---
> block/qcow2.c | 1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
Thanks, applied to the block branch.
Kevin
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-12-07 10:17 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-07 9:25 [Qemu-devel] [PATCH] block/qcow2.c : call qcow2_free_snapshots in the function of qcow2_close Li Zhi Hui
2011-12-07 10:13 ` Stefan Hajnoczi
2011-12-07 10:20 ` Kevin Wolf
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).