From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34699) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X0bXD-0005iS-0t for qemu-devel@nongnu.org; Fri, 27 Jun 2014 15:10:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X0bX6-000740-Kk for qemu-devel@nongnu.org; Fri, 27 Jun 2014 15:10:06 -0400 Received: from mx1.redhat.com ([209.132.183.28]:55311) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X0bX6-00073m-DH for qemu-devel@nongnu.org; Fri, 27 Jun 2014 15:10:00 -0400 Received: from int-mx13.intmail.prod.int.phx2.redhat.com (int-mx13.intmail.prod.int.phx2.redhat.com [10.5.11.26]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s5RJ9xD8023118 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Fri, 27 Jun 2014 15:09:59 -0400 From: Kevin Wolf Date: Fri, 27 Jun 2014 21:08:55 +0200 Message-Id: <1403896146-3063-37-git-send-email-kwolf@redhat.com> In-Reply-To: <1403896146-3063-1-git-send-email-kwolf@redhat.com> References: <1403896146-3063-1-git-send-email-kwolf@redhat.com> Subject: [Qemu-devel] [PULL 36/47] 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: kwolf@redhat.com From: Fam Zheng The old name is misleading in its new usage, so rename it. Signed-off-by: Fam Zheng Tested-by: Paolo Bonzini Reviewed-by: Stefan Hajnoczi Signed-off-by: Kevin Wolf --- 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 b6afa55..09bd2c7 100644 --- a/hw/block/dataplane/virtio-blk.c +++ b/hw/block/dataplane/virtio-blk.c @@ -61,7 +61,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); @@ -169,7 +169,7 @@ void virtio_blk_data_plane_create(VirtIODevice *vdev, VirtIOBlkConf *blk, *dataplane = s; s->saved_complete_request = vblk->complete_request; - vblk->complete_request = complete_request_early; + vblk->complete_request = complete_request_vring; } /* Context: QEMU global mutex held */ -- 1.8.3.1