Add file RPC dup call
This commit is contained in:
parent
e050cb41dc
commit
5812c831e5
@ -59,6 +59,10 @@ impl file_rpc::Server for FileServ {
|
||||
fn size(&self, _fd: u64) -> Option<u64> {
|
||||
None
|
||||
}
|
||||
|
||||
fn dup(&self, fd: u64) -> Option<u64> {
|
||||
Some(fd)
|
||||
}
|
||||
}
|
||||
|
||||
fn main() {
|
||||
|
Loading…
Reference in New Issue
Block a user