summaryrefslogtreecommitdiff
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorJason Gunthorpe <jgg@nvidia.com>2022-05-17 02:41:18 +0300
committerAlex Williamson <alex.williamson@redhat.com>2022-05-17 22:07:09 +0300
commitc6f4860ef938606117961fac11d8d67497ab299b (patch)
tree3f567232c420ea465993379fdff9c76f8d59c7aa /net/unix/af_unix.c
parentbe8d3adae65cd44b6c299b796a5e1a0c24c54454 (diff)
downloadlinux-c6f4860ef938606117961fac11d8d67497ab299b.tar.xz
vfio: Change struct vfio_group::opened from an atomic to bool
This is not a performance path, just use the group_rwsem to protect the value. Reviewed-by: Kevin Tian <kevin.tian@intel.com> Signed-off-by: Jason Gunthorpe <jgg@nvidia.com> Tested-by: Nicolin Chen <nicolinc@nvidia.com> Tested-by: Matthew Rosato <mjrosato@linux.ibm.com> Link: https://lore.kernel.org/r/2-v2-d035a1842d81+1bf-vfio_group_locking_jgg@nvidia.com Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions