From 8ab32686e274cbebbbb7a8794af40149d5ead7f2 Mon Sep 17 00:00:00 2001 From: Boyuan He Date: Fri, 11 Sep 2020 23:28:13 +0000 Subject: fuse_open: add padding to open out request --- pkg/abi/linux/fuse.go | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'pkg/abi/linux/fuse.go') diff --git a/pkg/abi/linux/fuse.go b/pkg/abi/linux/fuse.go index fdd22a13d..c2357a2ee 100644 --- a/pkg/abi/linux/fuse.go +++ b/pkg/abi/linux/fuse.go @@ -156,9 +156,9 @@ const ( // Constants relevant to FUSE operations. const ( - FUSE_NAME_MAX = 1024 - FUSE_PAGE_SIZE = 4096 - FUSE_DIRENT_ALIGN = 8 + FUSE_NAME_MAX = 1024 + FUSE_PAGE_SIZE = 4096 + FUSE_DIRENT_ALIGN = 8 ) // FUSEInitIn is the request sent by the kernel to the daemon, @@ -402,6 +402,8 @@ type FUSEOpenOut struct { // OpenFlag for the opened file. OpenFlag uint32 + + _ uint32 } // FUSE_READ flags, consistent with the ones in include/uapi/linux/fuse.h. -- cgit v1.2.3