summaryrefslogtreecommitdiff
path: root/src/proto.rs
diff options
context:
space:
mode:
authorAlejandro Soto <alejandro@34project.org>2021-12-29 05:38:27 -0600
committerAlejandro Soto <alejandro@34project.org>2021-12-29 05:38:32 -0600
commit702924d18d1f8e875a24defa5738f11565d8b020 (patch)
tree44f33cd5f0d2abb6d441fa71e91d2d62c6a096e3 /src/proto.rs
parent48efcd0ce8c8a9ac51dc80c6ec49c63f6694b031 (diff)
Implement Reply::all() for Write
Diffstat (limited to 'src/proto.rs')
-rw-r--r--src/proto.rs7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/proto.rs b/src/proto.rs
index 1ef33a5..128112d 100644
--- a/src/proto.rs
+++ b/src/proto.rs
@@ -295,6 +295,13 @@ pub struct WriteIn {
#[derive(Pod, Zeroable, Copy, Clone)]
#[repr(C)]
+pub struct WriteOut {
+ pub size: u32,
+ pub padding: u32,
+}
+
+#[derive(Pod, Zeroable, Copy, Clone)]
+#[repr(C)]
pub struct StatfsOut {
pub blocks: u64,
pub bfree: u64,