Received: from eggs.gnu.org ([2001:4830:134:3::10]:57049) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wkd6r-00009n-3K for qemu-devel@nongnu.org; Wed, 14 May 2014 13:36:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wkd6i-0002ot-HO for qemu-devel@nongnu.org; Wed, 14 May 2014 13:36:53 -0400 Received: from mx1.redhat.com ([209.132.183.28]:15062) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wkd6i-0002on-9o for qemu-devel@nongnu.org; Wed, 14 May 2014 13:36:44 -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 s4EHahet003248 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Wed, 14 May 2014 13:36:43 -0400 From: Markus Armbruster References: <1399996972-23429-1-git-send-email-armbru@redhat.com> <1399996972-23429-11-git-send-email-armbru@redhat.com> <5373A083.3050409@redhat.com> Date: Wed, 14 May 2014 19:36:37 +0200 In-Reply-To: <5373A083.3050409@redhat.com> (Eric Blake's message of "Wed, 14 May 2014 10:57:39 -0600") Message-ID: <87mwek8dp6.fsf@blackfin.pond.sub.org> MIME-Version: 1.0 Content-Type: text/plain Subject: Re: [Qemu-devel] [PATCH 10/18] block/vvfat: Propagate errors through enable_write_target() List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Eric Blake Cc: kwolf@redhat.com, qemu-devel@nongnu.org, stefanha@redhat.com Eric Blake writes: > On 05/13/2014 10:02 AM, Markus Armbruster wrote: >> Continues the conversion of the open method to Error started in commit >> 015a103. >> >> Signed-off-by: Markus Armbruster >> --- >> block/vvfat.c | 16 ++++++---------- >> 1 file changed, 6 insertions(+), 10 deletions(-) >> > >> s->qcow = NULL; >> ret = bdrv_open(&s->qcow, s->qcow_filename, NULL, NULL, >> BDRV_O_RDWR | BDRV_O_CACHE_WB | BDRV_O_NO_FLUSH, bdrv_qcow, >> - &local_err); >> + errp); > > Pre-existing; indentation looks odd here if you want to touch it up at > the same time. But that's not a show-stopper. Can take care of it when I respin to correct the leak in 04/18. > Reviewed-by: Eric Blake Thanks!