]> git.baikalelectronics.ru Git - kernel.git/commit
vfio: More vfio_file_is_group() use cases
authorAlex Williamson <alex.williamson@redhat.com>
Fri, 7 Oct 2022 18:03:00 +0000 (12:03 -0600)
committerAlex Williamson <alex.williamson@redhat.com>
Fri, 7 Oct 2022 19:06:52 +0000 (13:06 -0600)
commit461dd2ca8c7514cc4f808d1d153f39a9b5613ad2
tree6b65d806c86a3c832a3a393e142004487453cab1
parentdabaab9196fde7d868f60d4d5a02852b2aac5382
vfio: More vfio_file_is_group() use cases

Replace further open coded tests with helper.

Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Link: https://lore.kernel.org/r/166516896843.1215571.5378890510536477434.stgit@omen
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
drivers/vfio/vfio_main.c