Skip to content
Commit 742b4c0d authored by Luis Chamberlain's avatar Luis Chamberlain Committed by Alex Williamson
Browse files

vfio: use the new pci_dev_trylock() helper to simplify try lock



Use the new pci_dev_trylock() helper to simplify our locking.

Signed-off-by: default avatarLuis Chamberlain <mcgrof@kernel.org>
Reviewed-by: default avatarCornelia Huck <cohuck@redhat.com>
Reviewed-by: default avatarJason Gunthorpe <jgg@nvidia.com>
Link: https://lore.kernel.org/r/20210623022824.308041-3-mcgrof@kernel.org


Signed-off-by: default avatarAlex Williamson <alex.williamson@redhat.com>
parent e3a9b121
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment