aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYaowei Bai <baiyaowei@cmss.chinamobile.com>2018-07-28 13:18:44 +0800
committerMichael S. Tsirkin <mst@redhat.com>2018-11-05 13:24:02 -0500
commit9bb192a4fca3e50194b6ac2e0eaaee20d996bba1 (patch)
tree32e7af8112c7edf50c2b9acf93e582e9e07536af
parent39950353959932320763c9ef27fb4ff0b774fe0c (diff)
downloadqemu-9bb192a4fca3e50194b6ac2e0eaaee20d996bba1.zip
qemu-9bb192a4fca3e50194b6ac2e0eaaee20d996bba1.tar.gz
qemu-9bb192a4fca3e50194b6ac2e0eaaee20d996bba1.tar.bz2
virtio-blk: fix comment for virtio_blk_rw_complete
Here should be submit_requests, there is no submit_merged_requests function. Signed-off-by: Yaowei Bai <baiyaowei@cmss.chinamobile.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
-rw-r--r--hw/block/virtio-blk.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/block/virtio-blk.c b/hw/block/virtio-blk.c
index 225fe44..83cf5c0 100644
--- a/hw/block/virtio-blk.c
+++ b/hw/block/virtio-blk.c
@@ -97,8 +97,8 @@ static void virtio_blk_rw_complete(void *opaque, int ret)
if (req->qiov.nalloc != -1) {
/* If nalloc is != 1 req->qiov is a local copy of the original
- * external iovec. It was allocated in submit_merged_requests
- * to be able to merge requests. */
+ * external iovec. It was allocated in submit_requests to be
+ * able to merge requests. */
qemu_iovec_destroy(&req->qiov);
}