diff options
| author | Alejandro Soto <alejandro@34project.org> | 2021-12-24 04:58:51 -0600 |
|---|---|---|
| committer | Alejandro Soto <alejandro@34project.org> | 2021-12-24 05:07:23 -0600 |
| commit | 311b2a40213aa48131a189f99dc4258d354c0c78 (patch) | |
| tree | 3f4fd971a7b94d07f11a8c878e0bc665bdf61f67 /src/fuse/ops.rs | |
| parent | 5afc15edaa593bdf7dd2ae7c542980d9d70b8321 (diff) | |
Fix old warnings
Diffstat (limited to '')
| -rw-r--r-- | src/fuse/ops.rs | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/src/fuse/ops.rs b/src/fuse/ops.rs index bfbc70a..bbd49fe 100644 --- a/src/fuse/ops.rs +++ b/src/fuse/ops.rs @@ -55,7 +55,7 @@ op! { /// be cached by the client for up to the given TTL. pub fn found(self, entry: &Fs::Farc, ttl: TimeToLive) -> Done<'o> { let (attrs, attrs_ttl) = <Fs as Fuse>::Inode::attrs(entry); - session::unveil(&self.session, entry); + session::unveil(self.session, entry); self.single(&make_entry( (<Fs as Fuse>::Inode::ino(entry), ttl), @@ -103,16 +103,11 @@ op! { }, Reply { - /// The iinode may now be accessed. + /// The inode may now be accessed. pub fn ok(self) -> Done<'o> { self.ok_with_handle(0) } - /*pub fn tape<R: Tape<Fuse = Fs>>(self, reel: R) -> Done<'o> { - let (ino, _) = self.tail; - self.ok_with_handle(session::allocate_handle(&self.session, ino, reel)) - }*/ - fn ok_with_handle(self, handle: u64) -> Done<'o> { let (_, flags) = self.tail; self.single(&proto::OpenOut { @@ -342,7 +337,7 @@ impl<'o, Fs: Fuse, O: Operation<'o, Fs>> Reply<'o, Fs, O> { } fn chain(self, chain: OutputChain<'_>) -> Done<'o> { - Done::from_result(session::ok(&self.session, self.unique, chain)) + Done::from_result(session::ok(self.session, self.unique, chain)) } } |
