Add file RPC dup call

This commit is contained in:
pjht 2024-09-17 11:42:15 -05:00
parent db15daee83
commit 32a4e71dae
Signed by: pjht
GPG Key ID: CA239FC6934E6F3A

View File

@ -64,6 +64,10 @@ impl file_rpc::Server for Serv {
fn size(&self, fd: u64) -> Option<u64> {
Some(self.open_files.get(fd as usize)?.2 as u64)
}
fn dup(&self, fd: u64) -> Option<u64> {
Some(fd)
}
}
fn parse_mbr(mut disk: &File) -> Vec<MbrEntry> {