diff --git a/src/fs/fuse.rs b/src/fs/fuse.rs index 3839545034..01830a94ef 100644 --- a/src/fs/fuse.rs +++ b/src/fs/fuse.rs @@ -558,7 +558,7 @@ impl Cmd { .0 // We don't need the offset of `data_header` inside the type (the second element of the tuple) .pad_to_align(), ), - 0, + len, ) as *mut UninitCmd) } } @@ -597,7 +597,7 @@ where .0 // We don't need the offset of `data_header` inside the type (the second element of the tuple) .pad_to_align(), ), - 0, + len, ) as *mut Rsp) } }