Add file RPC dup call
This commit is contained in:
parent
2306eef3f8
commit
aa6e302baa
@ -180,6 +180,10 @@ impl file_rpc::Server for Serv {
|
|||||||
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