From 42421398ede402cadde8ea7ef2036b912df26287 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Kr=C3=B6ning?= Date: Tue, 26 Mar 2024 11:41:41 +0100 Subject: [PATCH] fix(fuse): fix fat pointer metadata MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Martin Kröning --- src/fs/fuse.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/fs/fuse.rs b/src/fs/fuse.rs index 15dd2e1db1..cf1d868644 100644 --- a/src/fs/fuse.rs +++ b/src/fs/fuse.rs @@ -549,7 +549,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) } } @@ -588,7 +588,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) } }