Received: from eggs.gnu.org ([2001:4830:134:3::10]:46062) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WwkKZ-0006gq-Gj for qemu-devel@nongnu.org; Mon, 16 Jun 2014 23:45:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WwkKT-0007h7-D5 for qemu-devel@nongnu.org; Mon, 16 Jun 2014 23:45:07 -0400 Received: from mx1.redhat.com ([209.132.183.28]:45901) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WwkKT-0007gn-5E for qemu-devel@nongnu.org; Mon, 16 Jun 2014 23:45:01 -0400 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s5H3j0u7008377 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Mon, 16 Jun 2014 23:45:00 -0400 From: Fam Zheng Date: Tue, 17 Jun 2014 11:45:01 +0800 Message-Id: <1402976701-10271-7-git-send-email-famz@redhat.com> In-Reply-To: <1402976701-10271-1-git-send-email-famz@redhat.com> References: <1402976701-10271-1-git-send-email-famz@redhat.com> Subject: [Qemu-devel] [PATCH 6/6] virtio-blk: Rename complete_request_early to complete_request_vring List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Kevin Wolf , Paolo Bonzini , Stefan Hajnoczi The old name is misleading in its new usage, so rename it. Signed-off-by: Fam Zheng --- hw/block/dataplane/virtio-blk.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hw/block/dataplane/virtio-blk.c b/hw/block/dataplane/virtio-blk.c index 47eb087..e79da1b 100644 --- a/hw/block/dataplane/virtio-blk.c +++ b/hw/block/dataplane/virtio-blk.c @@ -59,7 +59,7 @@ static void notify_guest(VirtIOBlockDataPlane *s) event_notifier_set(s->guest_notifier); } -static void complete_request_early(VirtIOBlockReq *req, unsigned char status) +static void complete_request_vring(VirtIOBlockReq *req, unsigned char status) { stb_p(&req->in->status, status); @@ -166,7 +166,7 @@ void virtio_blk_data_plane_create(VirtIODevice *vdev, VirtIOBlkConf *blk, bdrv_op_block_all(blk->conf.bs, s->blocker); *dataplane = s; - vblk->complete_request = complete_request_early; + vblk->complete_request = complete_request_vring; } /* Context: QEMU global mutex held */ -- 2.0.0