commit | 7f03b17d5c3f3b63dcacf0e481cf94c9d07267ab | [log] [tgz] |
---|---|---|
author | Heinz Graalfs <graalfs@linux.vnet.ibm.com> | Tue Oct 29 09:40:30 2013 +1030 |
committer | Rusty Russell <rusty@rustcorp.com.au> | Tue Oct 29 11:28:17 2013 +1030 |
tree | 338af05a9b2456350b84858b314d101c9c71fc5a | |
parent | b3b32c94133621c9ba7e4c8f29ec7533f2f4d8ec [diff] |
virtio_blk: verify if queue is broken after virtqueue_get_buf() In case virtqueue_get_buf() returned with a NULL pointer verify if the virtqueue is broken in order to leave while loop. Signed-off-by: Heinz Graalfs <graalfs@linux.vnet.ibm.com> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>