From 0f45ef90df6d036aec2077b702fdf465f61c16d6 Mon Sep 17 00:00:00 2001 From: Alejandro Soto Date: Thu, 6 Jan 2022 21:45:43 -0600 Subject: Implement Bmap --- src/proto.rs | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/proto.rs') diff --git a/src/proto.rs b/src/proto.rs index 7e81201..5587d89 100644 --- a/src/proto.rs +++ b/src/proto.rs @@ -518,6 +518,12 @@ pub struct BmapIn { pub padding: u32, } +#[derive(Pod, Zeroable, Copy, Clone)] +#[repr(C)] +pub struct BmapOut { + pub block: u64, +} + #[derive(Pod, Zeroable, Copy, Clone)] #[repr(C)] pub struct IoctlIn { -- cgit v1.2.3