diff options
author | Jason Gunthorpe <[email protected]> | 2022-11-29 16:31:46 -0400 |
---|---|---|
committer | Jason Gunthorpe <[email protected]> | 2022-12-02 11:52:03 -0400 |
commit | 294aaccb50130f596943be892c5d3a3568b76c57 (patch) | |
tree | 4c088ece14eebed89cc345300ef6d4687a9c5801 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 2a54e347d990574ceb047b71ea0b03979232b85e (diff) |
vfio: Move vfio_device driver open/close code to a function
This error unwind is getting complicated. Move all the code into two
pair'd function. The functions should be called when the open_count == 1
after incrementing/before decrementing.
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Kevin Tian <[email protected]>
Reviewed-by: Yi Liu <[email protected]>
Reviewed-by: Alex Williamson <[email protected]>
Tested-by: Alex Williamson <[email protected]>
Tested-by: Yi Liu <[email protected]>
Tested-by: Nicolin Chen <[email protected]>
Tested-by: Lixiao Yang <[email protected]>
Tested-by: Matthew Rosato <[email protected]>
Tested-by: Yu He <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions