diff options
author | Ricardo Koller <[email protected]> | 2022-10-17 19:58:23 +0000 |
---|---|---|
committer | Marc Zyngier <[email protected]> | 2022-11-10 19:10:27 +0000 |
commit | b6b03b86c0250a80b671313dbc0d7bcdbab78f41 (patch) | |
tree | 8b900c4b40e2ed21b0684849f789ddb3c6fcaa2d /lib/mpi/mpi-sub-ui.c | |
parent | 228f324dc718f702e8777164c4e2e7426824fb13 (diff) |
KVM: selftests: Add missing close and munmap in __vm_mem_region_delete()
Deleting a memslot (when freeing a VM) is not closing the backing fd,
nor it's unmapping the alias mapping. Fix by adding the missing close
and munmap.
Reviewed-by: Andrew Jones <[email protected]>
Reviewed-by: Oliver Upton <[email protected]>
Reviewed-by: Ben Gardon <[email protected]>
Signed-off-by: Ricardo Koller <[email protected]>
Signed-off-by: Marc Zyngier <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions