summaryrefslogtreecommitdiffstats
path: root/sys/fs/fuse
diff options
context:
space:
mode:
authorpfg <pfg@FreeBSD.org>2013-07-20 03:55:56 +0000
committerpfg <pfg@FreeBSD.org>2013-07-20 03:55:56 +0000
commitee86b8d3488047bf943ab138bf7cd74742f97d09 (patch)
treee44c37bea064058673f513977c88df4ccfc7cde0 /sys/fs/fuse
parent2a02ab82bbf9ae7f30cde980b2591c414223af03 (diff)
downloadFreeBSD-src-ee86b8d3488047bf943ab138bf7cd74742f97d09.zip
FreeBSD-src-ee86b8d3488047bf943ab138bf7cd74742f97d09.tar.gz
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
Diffstat (limited to 'sys/fs/fuse')
-rw-r--r--sys/fs/fuse/fuse_kernel.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/fs/fuse/fuse_kernel.h b/sys/fs/fuse/fuse_kernel.h
index eadced6..c3b8d5b 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 */
OpenPOWER on IntegriCloud