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

CVS commit program cvs at parl.clemson.edu
Wed Jun 16 16:45:31 EDT 2010


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

Modified Files:
      Tag: cu-security-branch
	pvfs2-types.h 
Log Message:
lots of little fixes that have been in the works for a while


Index: pvfs2-types.h
===================================================================
RCS file: /projects/cvsroot/pvfs2/include/pvfs2-types.h,v
diff -p -u -r1.147.4.8 -r1.147.4.9
--- pvfs2-types.h	2 Jun 2010 18:50:48 -0000	1.147.4.8
+++ pvfs2-types.h	16 Jun 2010 20:45:31 -0000	1.147.4.9
@@ -887,6 +887,10 @@ endecode_fields_3a2a_struct (
     uint32_t, op_mask,
     uint32_t, num_handles,
     PVFS_handle, handle_array)
+#define extra_size_PVFS_capability (PVFS_REQ_LIMIT_HANDLES_COUNT * \
+                                    sizeof(PVFS_handle)          + \
+                                    PVFS_REQ_LIMIT_ISSUER        + \
+                                    PVFS_REQ_LIMIT_SIGNATURE)
 
 typedef struct PVFS_credential PVFS_credential;
 struct PVFS_credential 
@@ -910,6 +914,10 @@ endecode_fields_3a2a_struct (
     PVFS_time, timeout,
     uint32_t, sig_size,
     PVFS_signature, signature)
+#define extra_size_PVFS_credential (PVFS_REQ_LIMIT_GROUPS    * \
+                                    sizeof(PVFS_gid)         + \
+                                    PVFS_REQ_LIMIT_ISSUER    + \
+                                    PVFS_REQ_LIMIT_SIGNATURE)
 
 #endif /* __PVFS2_TYPES_H */
 



More information about the Pvfs2-cvs mailing list