Add file RPC dup call

This commit is contained in:
pjht 2024-09-17 11:44:39 -05:00
parent 64b44f4bce
commit 24c84fd0f3
Signed by: pjht
GPG Key ID: CA239FC6934E6F3A

View File

@ -371,6 +371,10 @@ impl file_rpc::Server for FileServ {
fn size(&self, _fd: u64) -> Option<u64> { fn size(&self, _fd: u64) -> Option<u64> {
None None
} }
fn dup(&self, fd: u64) -> Option<u64> {
Some(fd)
}
} }
fn main() { fn main() {