fix virtio_blk_inhdr comment
authorChristoph Hellwig <hch@lst.de>
Thu, 23 Apr 2009 10:58:51 +0000 (12:58 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Fri, 1 May 2009 14:44:11 +0000 (09:44 -0500)
The inhdr is at the end of the S/G list, not the beginning.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>

hw/virtio-blk.h

index d11f484..5ef6c36 100644 (file)
@@ -67,7 +67,7 @@ struct virtio_blk_outhdr
 #define VIRTIO_BLK_S_IOERR      1
 #define VIRTIO_BLK_S_UNSUPP     2
 
-/* This is the first element of the write scatter-gather list */
+/* This is the last element of the write scatter-gather list */
 struct virtio_blk_inhdr
 {
     unsigned char status;