From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=40504 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P3x1l-0002Uf-3p for qemu-devel@nongnu.org; Thu, 07 Oct 2010 16:25:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P3x1Z-0000EO-Rs for qemu-devel@nongnu.org; Thu, 07 Oct 2010 16:25:19 -0400 Received: from mx1.redhat.com ([209.132.183.28]:58954) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P3x1Z-0000D8-Lf for qemu-devel@nongnu.org; Thu, 07 Oct 2010 16:25:09 -0400 Received: from int-mx08.intmail.prod.int.phx2.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o97KP7g8011182 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Thu, 7 Oct 2010 16:25:07 -0400 From: Eduardo Habkost Date: Thu, 7 Oct 2010 17:25:03 -0300 Message-Id: <1286483105-9768-1-git-send-email-ehabkost@redhat.com> Subject: [Qemu-devel] [PATCH 0/2] qcow2_create() error handling fixes List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Kevin Wolf From: Eduardo Habkost Hi, Here are two small fixes on qcow2_create() error handling. Eduardo Habkost (2): fix fd leak on a qcow2_create2() error path check for close() errors on qcow2_create() block/qcow2.c | 11 ++++++++--- 1 files changed, 8 insertions(+), 3 deletions(-)