diff options
author | pfg <pfg@FreeBSD.org> | 2013-07-20 03:08:50 +0000 |
---|---|---|
committer | pfg <pfg@FreeBSD.org> | 2013-07-20 03:08:50 +0000 |
commit | 2a02ab82bbf9ae7f30cde980b2591c414223af03 (patch) | |
tree | edcd1d5d29e7ff639f540bf905a62cbcc3f2d6cd /sys/fs/fuse | |
parent | d738d8e2b342fcbfd33ef5b6ee7337fe371c87c1 (diff) | |
download | FreeBSD-src-2a02ab82bbf9ae7f30cde980b2591c414223af03.zip FreeBSD-src-2a02ab82bbf9ae7f30cde980b2591c414223af03.tar.gz |
Adjust outsizes:
When birthtime was added (r253331) we missed adding the weight
of the new fields in FUSE_COMPAT_ENTRY_OUT_SIZE and
COMPAT_ATTR_OUT_SIZE. Adjust them accordingly.
Pointed out by: Jan Beich
Diffstat (limited to 'sys/fs/fuse')
-rw-r--r-- | sys/fs/fuse/fuse_kernel.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/fs/fuse/fuse_kernel.h b/sys/fs/fuse/fuse_kernel.h index 5ae7192..eadced6 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 120 +#define FUSE_COMPAT_ENTRY_OUT_SIZE 122 struct fuse_entry_out { __u64 nodeid; /* Inode ID */ @@ -245,7 +245,7 @@ struct fuse_getattr_in { __u64 fh; }; -#define FUSE_COMPAT_ATTR_OUT_SIZE 96 +#define FUSE_COMPAT_ATTR_OUT_SIZE 98 struct fuse_attr_out { __u64 attr_valid; /* Cache timeout for the attributes */ |