[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-block] [PATCH] virtio-blk: fix comment for virtio_blk_rw_complete
From: |
Yaowei Bai |
Subject: |
[Qemu-block] [PATCH] virtio-blk: fix comment for virtio_blk_rw_complete |
Date: |
Sat, 28 Jul 2018 13:18:44 +0800 |
Here should be submit_requests, there is no submit_merged_requests
function.
Signed-off-by: Yaowei Bai <address@hidden>
---
hw/block/virtio-blk.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/hw/block/virtio-blk.c b/hw/block/virtio-blk.c
index 50b5c86..91cbede 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);
}
--
1.8.3.1
- [Qemu-block] [PATCH] virtio-blk: fix comment for virtio_blk_rw_complete,
Yaowei Bai <=