[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PULL 7/8] dataplane: Comment fix
From: |
Stefan Hajnoczi |
Subject: |
[Qemu-devel] [PULL 7/8] dataplane: Comment fix |
Date: |
Fri, 31 Jan 2014 22:19:48 +0100 |
From: Markus Armbruster <address@hidden>
Signed-off-by: Markus Armbruster <address@hidden>
Signed-off-by: Stefan Hajnoczi <address@hidden>
---
hw/block/dataplane/virtio-blk.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hw/block/dataplane/virtio-blk.c b/hw/block/dataplane/virtio-blk.c
index 456d437..2237edb 100644
--- a/hw/block/dataplane/virtio-blk.c
+++ b/hw/block/dataplane/virtio-blk.c
@@ -145,7 +145,7 @@ static void do_get_id_cmd(VirtIOBlockDataPlane *s,
{
char id[VIRTIO_BLK_ID_BYTES];
- /* Serial number not NUL-terminated when shorter than buffer */
+ /* Serial number not NUL-terminated when longer than buffer */
strncpy(id, s->blk->serial ? s->blk->serial : "", sizeof(id));
iov_from_buf(iov, iov_cnt, 0, id, sizeof(id));
complete_request_early(s, elem, inhdr, VIRTIO_BLK_S_OK);
--
1.8.5.3
- [Qemu-devel] [PULL 0/8] Block patches, Stefan Hajnoczi, 2014/01/31
- [Qemu-devel] [PULL 1/8] Describe flaws in qcow/qcow2 encryption in the docs, Stefan Hajnoczi, 2014/01/31
- [Qemu-devel] [PULL 3/8] block: remove qcow2 .bdrv_make_empty implementation, Stefan Hajnoczi, 2014/01/31
- [Qemu-devel] [PULL 4/8] block/vmdk: add basic .bdrv_check support, Stefan Hajnoczi, 2014/01/31
- [Qemu-devel] [PULL 5/8] qemu-iotests: Drop assert_no_active_commit in case 040, Stefan Hajnoczi, 2014/01/31
- [Qemu-devel] [PULL 2/8] block: remove QED .bdrv_make_empty implementation, Stefan Hajnoczi, 2014/01/31
- [Qemu-devel] [PULL 8/8] qemu-iotests: only run 071 on qcow2, Stefan Hajnoczi, 2014/01/31
- [Qemu-devel] [PULL 6/8] block/vhdx: Error checking fixes, Stefan Hajnoczi, 2014/01/31
- [Qemu-devel] [PULL 7/8] dataplane: Comment fix,
Stefan Hajnoczi <=