From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55600) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VPUf8-0004Hy-6O for qemu-devel@nongnu.org; Fri, 27 Sep 2013 05:48:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VPUf2-0006II-8a for qemu-devel@nongnu.org; Fri, 27 Sep 2013 05:48:38 -0400 Received: from mx1.redhat.com ([209.132.183.28]:58950) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VPUf2-0006I2-0x for qemu-devel@nongnu.org; Fri, 27 Sep 2013 05:48:32 -0400 Received: from int-mx12.intmail.prod.int.phx2.redhat.com (int-mx12.intmail.prod.int.phx2.redhat.com [10.5.11.25]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r8R9mUlo008587 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Fri, 27 Sep 2013 05:48:30 -0400 Date: Fri, 27 Sep 2013 11:48:29 +0200 From: Kevin Wolf Message-ID: <20130927094829.GF2440@dhcp-200-207.str.redhat.com> References: <1380270108-25192-1-git-send-email-mreitz@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1380270108-25192-1-git-send-email-mreitz@redhat.com> Subject: Re: [Qemu-devel] [PATCH] qcow2: Free only newly allocated clusters on error List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Max Reitz Cc: qemu-devel@nongnu.org, Stefan Hajnoczi Am 27.09.2013 um 10:21 hat Max Reitz geschrieben: > In expand_zero_clusters_in_l1, a new cluster is only allocated if it was > not already preallocated. On error, such preallocated clusters should > not be freed, but only the newly allocated ones. > > Signed-off-by: Max Reitz Thanks, applied to the block branch. Kevin