virtio-blk: fix the list operation in virtio_blk_load().
commit20a81e4d178379381fbd522eda5f664ba2ecdaaa
authorYoshiaki Tamura <tamura.yoshiaki@lab.ntt.co.jp>
Mon, 21 Jun 2010 08:50:01 +0000 (21 17:50 +0900)
committerKevin Wolf <kwolf@redhat.com>
Tue, 22 Jun 2010 12:38:02 +0000 (22 14:38 +0200)
treebd278993b0ad568a38c73b9fdfc3a012911e12cc
parent7d7d975c67aaa48a6aaf1630c143a453606567b1
virtio-blk: fix the list operation in virtio_blk_load().

Although it is really rare to get in to the while loop, the list
operation in the loop is obviously wrong.

Signed-off-by: Yoshiaki Tamura <tamura.yoshiaki@lab.ntt.co.jp>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
hw/virtio-blk.c