Add file RPC dup call

This commit is contained in:
pjht 2024-09-17 11:44:53 -05:00
parent c6932b86f2
commit 41d6526cf8
Signed by: pjht
GPG Key ID: CA239FC6934E6F3A

View File

@ -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() {