vfio/pci: Hold igate across releasing eventfd contexts
authorAlex Williamson <alex.williamson@redhat.com>
Mon, 27 Jul 2020 19:43:38 +0000 (13:43 -0600)
committerAlex Williamson <alex.williamson@redhat.com>
Mon, 27 Jul 2020 19:43:38 +0000 (13:43 -0600)
commit924b51abf961f1d888143fcfa3d63c92dc517679
treeec7d3876a5e25203c97794d5e964a312b7b00366
parent9d532f286914add61e02312881733a90355f153c
vfio/pci: Hold igate across releasing eventfd contexts

No need to release and immediately re-acquire igate while clearing
out the eventfd ctxs.

Reviewed-by: Cornelia Huck <cohuck@redhat.com>
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
drivers/vfio/pci/vfio_pci.c