mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2025-01-18 10:35:23 +00:00
bc90fe4c71
The file descriptor provided to fs_slave_map() and fs_slave_io() is passed as a AsRawFd trait, meaning the caller owns it. For that reason, there's no need for these functions to close the file descriptor as it will be closed later on anyway. Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>