summary refs log tree commit diff
path: root/drivers/vfio/pci
diff options
context:
space:
mode:
authorJason Gunthorpe <jgg@nvidia.com>2022-09-29 11:59:24 -0300
committerAlex Williamson <alex.williamson@redhat.com>2022-10-04 12:06:58 -0600
commit912b74d26c7df2da1e261f3dac8942c8cbb76a49 (patch)
treedc28df6504b695955339e6ab871c79ffea8e4ca1 /drivers/vfio/pci
parent9c799c224d6ebc5be51065bd3217a2d7eea23b8f (diff)
downloadlinux-912b74d26c7df2da1e261f3dac8942c8cbb76a49.tar.gz
vfio: Remove the vfio_group->users and users_comp
Kevin points out that the users is really just tracking if
group->opened_file is set, so we can simplify this code to a wait_queue
that looks for !opened_file under the group_rwsem.

Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Reviewed-by: Kevin Tian <kevin.tian@intel.com>
Link: https://lore.kernel.org/r/1-v1-917e3647f123+b1a-vfio_group_users_jgg@nvidia.com
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'drivers/vfio/pci')
0 files changed, 0 insertions, 0 deletions