mirror of
https://github.com/OMGeeky/drive_syncer.git
synced 2025-12-27 06:29:38 +01:00
small misc improvements
This commit is contained in:
@@ -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;
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user