summaryrefslogtreecommitdiff
path: root/src/fuse
diff options
context:
space:
mode:
Diffstat (limited to 'src/fuse')
-rw-r--r--src/fuse/io.rs2
-rw-r--r--src/fuse/ops.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/fuse/io.rs b/src/fuse/io.rs
index e3938d6..47df045 100644
--- a/src/fuse/io.rs
+++ b/src/fuse/io.rs
@@ -7,7 +7,7 @@ use std::{
ops::{ControlFlow, FromResidual, Try},
};
-use crate::{proto, FuseResult, Ino, Ttl, Timestamp};
+use crate::{proto, FuseResult, Ino, Timestamp, Ttl};
use super::{Done, Operation, Reply, Request};
diff --git a/src/fuse/ops.rs b/src/fuse/ops.rs
index d9e7167..1a5a578 100644
--- a/src/fuse/ops.rs
+++ b/src/fuse/ops.rs
@@ -73,7 +73,7 @@ op! {
/// The requested entry was not found in this directory. The FUSE clint may include this
/// response in negative cache for up to the given TTL.
pub fn not_found(self, ttl: Ttl) -> Done<'o> {
- self.single(&make_entry((Ino::NULL, ttl), (Zeroable::zeroed(), Default::default())))
+ self.single(&make_entry((Ino::NULL, ttl), (Zeroable::zeroed(), Ttl::NULL)))
}
/// The requested entry was not found in this directory, but unlike [`Reply::not_found()`]