summaryrefslogtreecommitdiffstats
path: root/drivers/block/virtio_blk.c
diff options
context:
space:
mode:
authorMichael S. Tsirkin2017-10-27 15:11:13 +0200
committerMichael S. Tsirkin2018-01-31 00:47:36 +0100
commita311650ae6ad0c169ade2583f78aa519878ea13f (patch)
tree53c54f8ff46aad3afab5de6672178f5271b08b32 /drivers/block/virtio_blk.c
parentvirtio/ringtest: fix up need_event math (diff)
downloadkernel-qcow2-linux-a311650ae6ad0c169ade2583f78aa519878ea13f.tar.gz
kernel-qcow2-linux-a311650ae6ad0c169ade2583f78aa519878ea13f.tar.xz
kernel-qcow2-linux-a311650ae6ad0c169ade2583f78aa519878ea13f.zip
virtio/ringtest: virtio_ring: fix up need_event math
last kicked event index must be updated unconditionally: even if we don't need to kick, we do not want to re-check the same entry for events. Reported-by: Cornelia Huck <cohuck@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Reviewed-by: Jens Freimann <jfreimann@redhat.com>
Diffstat (limited to 'drivers/block/virtio_blk.c')
0 files changed, 0 insertions, 0 deletions