Add file RPC dup call
This commit is contained in:
parent
c6932b86f2
commit
41d6526cf8
@ -82,6 +82,10 @@ impl file_rpc::Server for AhciState {
|
|||||||
};
|
};
|
||||||
Some(device.capacity() as u64)
|
Some(device.capacity() as u64)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
fn dup(&self, fd: u64) -> Option<u64> {
|
||||||
|
Some(fd)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
fn main() {
|
fn main() {
|
||||||
|
Loading…
Reference in New Issue
Block a user