Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Jul 2013 03:55:56 +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: r253479 - head/sys/fs/fuse
Message-ID:  <201307200355.r6K3tuh4083339@svn.freebsd.org>

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



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