mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2025-03-20 07:58:55 +00:00
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>