Skip to content

Commit

Permalink
Merge branch 'main' into fix-epoll-hup
Browse files Browse the repository at this point in the history
  • Loading branch information
slp authored Oct 24, 2024
2 parents 41b3a63 + 27910fe commit 5b992cf
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/devices/src/virtio/fs/linux/passthrough.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1991,11 +1991,6 @@ impl FileSystem for PassthroughFs {
return Err(io::Error::last_os_error());
}

let ret = unsafe { libc::close(fd) };
if ret == -1 {
return Err(io::Error::last_os_error());
}

Ok(())
}

Expand Down

0 comments on commit 5b992cf

Please sign in to comment.