summaryrefslogtreecommitdiff
path: root/src/fuse
diff options
context:
space:
mode:
Diffstat (limited to 'src/fuse')
-rw-r--r--src/fuse/ops.rs18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/fuse/ops.rs b/src/fuse/ops.rs
index 01d671e..f573842 100644
--- a/src/fuse/ops.rs
+++ b/src/fuse/ops.rs
@@ -328,6 +328,12 @@ op! {
self.body.fh
}
}
+
+ impl Reply {
+ pub fn ok(self) -> Done<'o> {
+ self.empty()
+ }
+ }
}
op! {
@@ -488,6 +494,18 @@ op! {
type RequestBody = &'o proto::ReleasedirIn;
type ReplyTail = ();
}
+
+ impl Request {
+ pub fn handle(&self) -> u64 {
+ self.body.release_in.fh
+ }
+ }
+
+ impl Reply {
+ pub fn ok(self) -> Done<'o> {
+ self.empty()
+ }
+ }
}
op! {