diff --git a/src/fs/drive2/filesystem/mod.rs b/src/fs/drive2/filesystem/mod.rs index 03d23d5..ec8e78c 100644 --- a/src/fs/drive2/filesystem/mod.rs +++ b/src/fs/drive2/filesystem/mod.rs @@ -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; }); } diff --git a/src/fs/drive_file_provider/provider/mod.rs b/src/fs/drive_file_provider/provider/mod.rs index 5e576cb..3c01f94 100644 --- a/src/fs/drive_file_provider/provider/mod.rs +++ b/src/fs/drive_file_provider/provider/mod.rs @@ -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