Received: from eggs.gnu.org ([2001:4830:134:3::10]:51432) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZvmQG-0005i3-LK for qemu-devel@nongnu.org; Mon, 09 Nov 2015 08:23:49 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZvmQD-00026C-Iq for qemu-devel@nongnu.org; Mon, 09 Nov 2015 08:23:48 -0500 From: Alberto Garcia In-Reply-To: <1446663467-22485-3-git-send-email-mreitz@redhat.com> References: <1446663467-22485-1-git-send-email-mreitz@redhat.com> <1446663467-22485-3-git-send-email-mreitz@redhat.com> Date: Mon, 09 Nov 2015 14:23:32 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: [Qemu-devel] [PATCH v6 02/15] blockjob: Call bdrv_unref() on creation error List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Max Reitz , qemu-block@nongnu.org Cc: Kevin Wolf , Markus Armbruster , qemu-devel@nongnu.org, Stefan Hajnoczi , Paolo Bonzini On Wed 04 Nov 2015 07:57:34 PM CET, Max Reitz wrote: > If block_job_create() fails, it should release its reference to the > job's BDS. Normally, this is done in the callback provided by the > caller, but that callback will not be invoked if the block job failed to > be created. > > Signed-off-by: Max Reitz Reviewed-by: Alberto Garcia Berto