diff options
| author | Yishai Hadas <[email protected]> | 2021-08-06 01:19:04 +0000 |
|---|---|---|
| committer | Alex Williamson <[email protected]> | 2021-08-11 15:50:11 +0000 |
| commit | 2cd8b14aaa667f5c6b7918e8d769872fa9acb0ac (patch) | |
| tree | 7b6108c83c920bcf187d1ea6eed9b0747673f6f8 /fs/ext4/fast_commit.c | |
| parent | vfio/platform: Use open_device() instead of open coding a refcnt scheme (diff) | |
| download | kernel-2cd8b14aaa667f5c6b7918e8d769872fa9acb0ac.tar.gz kernel-2cd8b14aaa667f5c6b7918e8d769872fa9acb0ac.zip | |
vfio/pci: Move to the device set infrastructure
PCI wants to have the usual open/close_device() logic with the slight
twist that the open/close_device() must be done under a singelton lock
shared by all of the vfio_devices that are in the PCI "reset group".
The reset group, and thus the device set, is determined by what devices
pci_reset_bus() touches, which is either the entire bus or only the slot.
Rely on the core code to do everything reflck was doing and delete reflck
entirely.
Signed-off-by: Yishai Hadas <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Reviewed-by: Cornelia Huck <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alex Williamson <[email protected]>
Diffstat (limited to 'fs/ext4/fast_commit.c')
0 files changed, 0 insertions, 0 deletions
