diff --git a/src/main.rs b/src/main.rs index 022713c..1e42839 100644 --- a/src/main.rs +++ b/src/main.rs @@ -58,6 +58,10 @@ impl file_rpc::Server for Serv { let (file, _mount_id) = &files[fd as usize]; Some(file.metadata().len()) } + + fn dup(&self, fd: u64) -> Option { + Some(fd) + } } fn main() {