Received: from eggs.gnu.org ([2001:4830:134:3::10]:52496) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WNfGe-0005uk-Bh for qemu-devel@nongnu.org; Wed, 12 Mar 2014 05:16:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WNfGZ-0003O6-Lr for qemu-devel@nongnu.org; Wed, 12 Mar 2014 05:16:04 -0400 Received: from mail-ea0-x233.google.com ([2a00:1450:4013:c01::233]:38449) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WNfGZ-0003O0-F8 for qemu-devel@nongnu.org; Wed, 12 Mar 2014 05:15:59 -0400 Received: by mail-ea0-f179.google.com with SMTP id q10so4798668ead.24 for ; Wed, 12 Mar 2014 02:15:58 -0700 (PDT) Date: Wed, 12 Mar 2014 10:15:55 +0100 From: Stefan Hajnoczi Message-ID: <20140312091555.GA18850@stefanha-thinkpad.muc.redhat.com> References: <1392483801-15830-1-git-send-email-mreitz@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1392483801-15830-1-git-send-email-mreitz@redhat.com> Subject: Re: [Qemu-devel] [PATCH] block: Unlink temporary file List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Max Reitz Cc: Kevin Wolf , qemu-devel@nongnu.org, Stefan Hajnoczi , =?iso-8859-1?Q?Beno=EEt?= Canet On Sat, Feb 15, 2014 at 06:03:21PM +0100, Max Reitz wrote: > If the image file cannot be opened and was created as a temporary file, > it should be deleted; thus, in this case, we should jump to the > "unlink_and_fail" label and not just to "fail". > > Reported-by: Benoît Canet > Signed-off-by: Max Reitz > --- > This patch's context depends on my bdrv_open()/bdrv_file_open() series > ("[PATCH v3 0/8] block: Integrate bdrv_file_open() into bdrv_open()"). > --- > block.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Thanks, applied to my block tree: https://github.com/stefanha/qemu/commits/block Stefan