From 77b8f8a9983b76b637f8df37bb48ec2badf32d88 Mon Sep 17 00:00:00 2001 From: "Pedro F. Giffuni" Date: Sat, 20 Jul 2013 03:55:56 +0000 Subject: [PATCH] Adjust outsizes: Recalculate FUSE_COMPAT_ENTRY_OUT_SIZE and COMPAT_ATTR_OUT_SIZE. These were wrong in the previous commit. They are actually unused in FreeBSD though. Pointed out by: Jan Beich --- sys/fs/fuse/fuse_kernel.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/fs/fuse/fuse_kernel.h b/sys/fs/fuse/fuse_kernel.h index eadced67f3c9..c3b8d5bba02c 100644 --- a/sys/fs/fuse/fuse_kernel.h +++ b/sys/fs/fuse/fuse_kernel.h @@ -222,7 +222,7 @@ enum fuse_opcode { /* The read buffer is required to be at least 8k, but may be much larger */ #define FUSE_MIN_READ_BUFFER 8192 -#define FUSE_COMPAT_ENTRY_OUT_SIZE 122 +#define FUSE_COMPAT_ENTRY_OUT_SIZE 128 struct fuse_entry_out { __u64 nodeid; /* Inode ID */ @@ -245,7 +245,7 @@ struct fuse_getattr_in { __u64 fh; }; -#define FUSE_COMPAT_ATTR_OUT_SIZE 98 +#define FUSE_COMPAT_ATTR_OUT_SIZE 104 struct fuse_attr_out { __u64 attr_valid; /* Cache timeout for the attributes */