From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:37533) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UdFYU-0002oy-Ak for qemu-devel@nongnu.org; Fri, 17 May 2013 03:58:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UdFYP-0000hT-56 for qemu-devel@nongnu.org; Fri, 17 May 2013 03:58:22 -0400 Received: from e23smtp09.au.ibm.com ([202.81.31.142]:45425) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UdFYO-0000cy-Hm for qemu-devel@nongnu.org; Fri, 17 May 2013 03:58:17 -0400 Received: from /spool/local by e23smtp09.au.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Sat, 18 May 2013 04:55:43 +1000 Received: from d23relay05.au.ibm.com (d23relay05.au.ibm.com [9.190.235.152]) by d23dlp03.au.ibm.com (Postfix) with ESMTP id AEA3F3578051 for ; Fri, 17 May 2013 17:58:07 +1000 (EST) Received: from d23av01.au.ibm.com (d23av01.au.ibm.com [9.190.234.96]) by d23relay05.au.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id r4H7htGP23986302 for ; Fri, 17 May 2013 17:43:56 +1000 Received: from d23av01.au.ibm.com (loopback [127.0.0.1]) by d23av01.au.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id r4H7w54e000339 for ; Fri, 17 May 2013 17:58:06 +1000 From: Wenchao Xia Date: Fri, 17 May 2013 15:56:43 +0800 Message-Id: <1368777405-8750-1-git-send-email-xiawenc@linux.vnet.ibm.com> Subject: [Qemu-devel] [PATCH V2 0/2] qcow2: try cancel the modification on fail in snapshot creation List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: kwolf@redhat.com, pbonzini@redhat.com, Wenchao Xia , stefanha@gmail.com V2: 1/2: all fail case will goto fail section. 2/2: add the goto code. Wenchao Xia (2): 1 qcow2: free allocated cluster on fail in qcow2_write_snapshots() 2 qcow2: cancel the modification on fail in qcow2_snapshot_create() block/qcow2-snapshot.c | 27 ++++++++++++++++++++------- 1 files changed, 20 insertions(+), 7 deletions(-)