diff options
Diffstat (limited to 'src/fuse/ops.rs')
| -rw-r--r-- | src/fuse/ops.rs | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/fuse/ops.rs b/src/fuse/ops.rs index 31b2b75..6bb307a 100644 --- a/src/fuse/ops.rs +++ b/src/fuse/ops.rs @@ -490,6 +490,25 @@ op! { } op! { + Flush { + type RequestBody = &'o proto::FlushIn; + type ReplyTail = (); + } + + impl Request { + pub fn handle(&self) -> u64 { + self.body.fh + } + } + + impl Reply { + pub fn ok(self) -> Done<'o> { + self.empty() + } + } +} + +op! { Opendir { type RequestBody = &'o proto::OpendirIn; type ReplyTail = (); |
