summaryrefslogtreecommitdiff
path: root/src/proto.rs
diff options
context:
space:
mode:
authorAlejandro Soto <alejandro@34project.org>2022-01-06 21:45:43 -0600
committerAlejandro Soto <alejandro@34project.org>2022-01-06 21:45:43 -0600
commit0f45ef90df6d036aec2077b702fdf465f61c16d6 (patch)
tree0abaef4cf55aa8aecc3ae985858bf870f6836e01 /src/proto.rs
parentf0e7c0997553ab356d5aa683d5322ab2de575188 (diff)
Implement Bmap
Diffstat (limited to 'src/proto.rs')
-rw-r--r--src/proto.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/proto.rs b/src/proto.rs
index 7e81201..5587d89 100644
--- a/src/proto.rs
+++ b/src/proto.rs
@@ -520,6 +520,12 @@ pub struct BmapIn {
#[derive(Pod, Zeroable, Copy, Clone)]
#[repr(C)]
+pub struct BmapOut {
+ pub block: u64,
+}
+
+#[derive(Pod, Zeroable, Copy, Clone)]
+#[repr(C)]
pub struct IoctlIn {
pub fh: u64,
pub flags: u32,