svn commit: r253478 - head/sys/fs/fuse

Pedro F. Giffuni pfg at FreeBSD.org
Sat Jul 20 03:08:51 UTC 2013


Author: pfg
Date: Sat Jul 20 03:08:50 2013
New Revision: 253478
URL: http://svnweb.freebsd.org/changeset/base/253478

Log:
  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

Modified:
  head/sys/fs/fuse/fuse_kernel.h

Modified: head/sys/fs/fuse/fuse_kernel.h
==============================================================================
--- head/sys/fs/fuse/fuse_kernel.h	Fri Jul 19 21:54:48 2013	(r253477)
+++ head/sys/fs/fuse/fuse_kernel.h	Sat Jul 20 03:08:50 2013	(r253478)
@@ -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 */


More information about the svn-src-all mailing list