small misc improvements

This commit is contained in:
OMGeeky
2023-06-25 16:18:37 +02:00
parent 882d97dcc0
commit 2dedf6dcaa
2 changed files with 2 additions and 3 deletions

View File

@@ -436,7 +436,7 @@ impl Filesystem for DriveFilesystem {
mut reply: ReplyDirectory,
) {
let (provider_res_tx, mut provider_rx) = tokio::sync::mpsc::channel(1);
let drive_id = self.entry_ids.get_by_left(&ino);
let drive_id = self.get_id_from_ino(ino);
reply_error_o!(
drive_id,
reply,
@@ -474,7 +474,6 @@ impl Filesystem for DriveFilesystem {
}
debug!("sending ok");
reply.ok();
return;
});
}

View File

@@ -472,7 +472,7 @@ impl DriveFileProvider {
// }
}
// if let Some(fh) = request.fh {
// //TODO2: implement something for fh in setattr
// //TODO2: implement something for fh in setattr (if needed)
// warn!(
// "fh was set in setattr but I don't know what to do with this: {:?}",
// request