svn commit: r253479 - head/sys/fs/fuse
Pedro F. Giffuni
pfg at FreeBSD.org
Sat Jul 20 03:55:56 UTC 2013
Author: pfg
Date: Sat Jul 20 03:55:56 2013
New Revision: 253479
URL: http://svnweb.freebsd.org/changeset/base/253479
Log:
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
Modified:
head/sys/fs/fuse/fuse_kernel.h
Modified: head/sys/fs/fuse/fuse_kernel.h
==============================================================================
--- head/sys/fs/fuse/fuse_kernel.h Sat Jul 20 03:08:50 2013 (r253478)
+++ head/sys/fs/fuse/fuse_kernel.h Sat Jul 20 03:55:56 2013 (r253479)
@@ -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 */
More information about the svn-src-head
mailing list