diff options
author | Boyuan He <heboyuan@google.com> | 2020-09-11 23:28:13 +0000 |
---|---|---|
committer | Rahat Mahmood <46939889+mrahatm@users.noreply.github.com> | 2020-09-11 16:49:22 -0700 |
commit | 8d0f76dda8df42f1701e6d82347ecf69b6271a13 (patch) | |
tree | 2aaabaf7773a005b75cac1d73a5b31eb6daf4e40 /pkg/abi | |
parent | b8bee78d0c99a0c9423061b3dda10b9ef8c9719d (diff) |
fuse_open: add padding to open out request
Diffstat (limited to 'pkg/abi')
-rw-r--r-- | pkg/abi/linux/fuse.go | 8 |
1 files changed, 5 insertions, 3 deletions
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. |