[Pvfs2-cvs] commit by nlmills in pvfs2/include: pvfs2-types.h

CVS commit program cvs at parl.clemson.edu
Tue May 17 15:32:48 EDT 2011


Update of /projects/cvsroot/pvfs2/include
In directory parlweb1:/tmp/cvs-serv18109/include

Modified Files:
      Tag: cu-security-branch
	pvfs2-types.h 
Log Message:
merge with Orange-Branch


Index: pvfs2-types.h
===================================================================
RCS file: /projects/cvsroot/pvfs2/include/pvfs2-types.h,v
diff -p -u -r1.147.4.15 -r1.147.4.16
--- pvfs2-types.h	13 Jan 2011 20:11:42 -0000	1.147.4.15
+++ pvfs2-types.h	17 May 2011 19:32:48 -0000	1.147.4.16
@@ -484,9 +484,13 @@ typedef struct
  * upcall request types.
  * NOTE: Please retain them as multiples of 8 even if you wish to change them
  * This is *NECESSARY* for supporting 32 bit user-space binaries on a 64-bit kernel.
+ * Due to implementation within DBPF, this really needs to be PVFS_NAME_MAX,
+ * which it was the same value as, but no reason to let it break if that
+ * changes in the future.
  */
-#define PVFS_MAX_XATTR_NAMELEN   256 /* Not the same as XATTR_NAME_MAX defined
-                                        by <linux/xattr.h> */
+#define PVFS_MAX_XATTR_NAMELEN   PVFS_NAME_MAX /* Not the same as 
+                                                  XATTR_NAME_MAX defined
+                                                  by <linux/xattr.h> */
 #define PVFS_MAX_XATTR_VALUELEN  8192 /* Not the same as XATTR_SIZE_MAX defined
                                         by <linux/xattr.h> */ 
 #define PVFS_MAX_XATTR_LISTLEN   8  /* Not the same as XATTR_LIST_MAX



More information about the Pvfs2-cvs mailing list