Add file RPC dup call
This commit is contained in:
parent
64b44f4bce
commit
24c84fd0f3
@ -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() {
|
||||||
|
Loading…
Reference in New Issue
Block a user