Remove useless login

This commit is contained in:
oupson 2022-10-06 13:28:32 +02:00
parent 5208451311
commit e86139986d
Signed by: oupson
GPG Key ID: 3BD88615552EFCB7
1 changed files with 0 additions and 5 deletions

View File

@ -143,7 +143,6 @@ impl InodeCacheExt for InodeCache {
impl Filesystem for EncryptedFs {
fn access(&mut self, _req: &fuser::Request<'_>, ino: u64, mask: i32, reply: fuser::ReplyEmpty) {
log::debug!("access, ino : {}, mask : {}", ino, mask);
if let Some(path) = self.get_path(ino) {
reply.ok()
} else {
@ -152,9 +151,7 @@ impl Filesystem for EncryptedFs {
}
fn getattr(&mut self, _req: &fuser::Request<'_>, ino: u64, reply: fuser::ReplyAttr) {
log::debug!("getattr, ino : {}", ino);
if let Some(path) = self.get_path(ino) {
log::debug!("access, path = {:?}", path);
reply.attr(&Duration::new(0, 0), &Self::get_attr(path, ino))
} else {
reply.error(libc::ENOENT)
@ -273,8 +270,6 @@ impl Filesystem for EncryptedFs {
reply: fuser::ReplyData,
) {
if let Some(file_path) = &self.get_path(ino) {
log::debug!("read {:?}", file_path);
let mut file = File::open(file_path).unwrap();
let decoder = self.fs.content_decoder();