diff options
| author | Jason Gunthorpe <[email protected]> | 2022-05-16 20:41:22 -0300 |
|---|---|---|
| committer | Alex Williamson <[email protected]> | 2022-05-17 13:07:09 -0600 |
| commit | 3ca5470878ebe9e31d3292391ae5fd63ab625a0b (patch) | |
| tree | 3100dc0db4e4f2959d13dcaba51d4a73f12b6b87 /scripts/generate_rust_analyzer.py | |
| parent | b76c0eed748605afe8cddcc45c574f7f8536551a (diff) | |
vfio: Change struct vfio_group::container_users to a non-atomic int
Now that everything is fully locked there is no need for container_users
to remain as an atomic, change it to an unsigned int.
Use 'if (group->container)' as the test to determine if the container is
present or not instead of using container_users.
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 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions