From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=55465 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PxLgs-00045x-Ph for qemu-devel@nongnu.org; Wed, 09 Mar 2011 10:52:47 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PxLgr-0001nK-89 for qemu-devel@nongnu.org; Wed, 09 Mar 2011 10:52:46 -0500 Received: from mx1.redhat.com ([209.132.183.28]:14767) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PxLgq-0001mw-Ps for qemu-devel@nongnu.org; Wed, 09 Mar 2011 10:52:45 -0500 Message-ID: <4D77A2C1.8030802@redhat.com> Date: Wed, 09 Mar 2011 16:54:41 +0100 From: Kevin Wolf MIME-Version: 1.0 Subject: Re: [Qemu-devel] [PATCH]hw/xen_disk: aio_inflight not released in handling ioreq when nr_segments==0 References: In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Feiran Zheng Cc: anthony.perard@citrix.com, Stefano Stabellini , qemu-devel@nongnu.org, Gerd Hoffmann Am 09.03.2011 14:19, schrieb Feiran Zheng: > In hw/xen_disk.c, async writing ioreq is leaked when > ioreq->req.nr_segments==0, because `aio_inflight` flag is not released > properly (skipped by misplaced "break"). > > Signed-off-by: Feiran Zheng Thanks, applied to the block branch. Kevin