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
This commit is contained in:
Pedro F. Giffuni 2013-07-20 03:08:50 +00:00
parent b564fe858c
commit 05ad761667

View File

@ -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 */