diff options
Diffstat (limited to 'src/fuse/ops.rs')
| -rw-r--r-- | src/fuse/ops.rs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/fuse/ops.rs b/src/fuse/ops.rs index bfb45b8..01d671e 100644 --- a/src/fuse/ops.rs +++ b/src/fuse/ops.rs @@ -311,9 +311,8 @@ op! { impl Reply { /// Replies with filesystem statistics. - pub fn info(self, statfs: FsInfo) -> Done<'o> { - let statfs: proto::StatfsOut = statfs.into(); - self.single(&statfs) + pub fn info(self, statfs: &FsInfo) -> Done<'o> { + self.single(&proto::StatfsOut::from(*statfs)) } } } |
