diff options
author | Jason Gunthorpe <[email protected]> | 2022-05-16 20:41:19 -0300 |
---|---|---|
committer | Alex Williamson <[email protected]> | 2022-05-17 13:07:09 -0600 |
commit | 805bb6c1bd9009e389f884fa30ec5f5e5079376d (patch) | |
tree | 48ab6a20faf1e9b225e88a93bc038d57804b6d41 /include/linux/fpga/fpga-mgr.h | |
parent | c6f4860ef938606117961fac11d8d67497ab299b (diff) |
vfio: Split up vfio_group_get_device_fd()
The split follows the pairing with the destroy functions:
- vfio_group_get_device_fd() destroyed by close()
- vfio_device_open() destroyed by vfio_device_fops_release()
- vfio_device_assign_container() destroyed by
vfio_group_try_dissolve_container()
The next patch will put a lock around vfio_device_assign_container().
Reviewed-by: Kevin Tian <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Tested-by: Nicolin Chen <[email protected]>
Tested-by: Matthew Rosato <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alex Williamson <[email protected]>
Diffstat (limited to 'include/linux/fpga/fpga-mgr.h')
0 files changed, 0 insertions, 0 deletions