Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Jul 2013 03:08:51 +0000 (UTC)
From:      "Pedro F. Giffuni" <pfg@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r253478 - head/sys/fs/fuse
Message-ID:  <201307200308.r6K38p2u069156@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201307200308.r6K38p2u069156>