diff options
| author | Alejandro Soto <alejandro@34project.org> | 2021-12-28 22:04:10 -0600 |
|---|---|---|
| committer | Alejandro Soto <alejandro@34project.org> | 2021-12-28 22:05:11 -0600 |
| commit | 808d7b000bd02d8238ba7b0f1d6800428de661ef (patch) | |
| tree | f3bc863e08175e541ff19b4fb67175dc765e1926 /src/fuse | |
| parent | 982b2d03231b3e5abfb94445b1dec981000ffb17 (diff) | |
Add Ttl::NULL
Diffstat (limited to '')
| -rw-r--r-- | src/fuse/io.rs | 2 | ||||
| -rw-r--r-- | src/fuse/ops.rs | 2 |
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()`] |
