summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorGreg Kurz <gkurz@linux.vnet.ibm.com>2016-02-16 15:54:28 +0100
committerMichael S. Tsirkin <mst@redhat.com>2016-03-02 16:01:49 +0100
commite1f33be9186363da7955bcb5f0b03e6685544c50 (patch)
tree351ee45f7f1e591fd755b38355a945e11547dd04 /lib
parentvirtio-pci: read the right virtio_pci_notify_cap field (diff)
downloadlinux-e1f33be9186363da7955bcb5f0b03e6685544c50.tar.xz
linux-e1f33be9186363da7955bcb5f0b03e6685544c50.zip
vhost: fix error path in vhost_init_used()
We don't want side effects. If something fails, we rollback vq->is_le to its previous value. Signed-off-by: Greg Kurz <gkurz@linux.vnet.ibm.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions