patch-2.1.120 linux/include/linux/coda.h

Next file: linux/include/linux/coda_fs_i.h
Previous file: linux/include/linux/byteorder/swabb.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.119/linux/include/linux/coda.h linux/include/linux/coda.h
@@ -72,6 +72,7 @@
 #define	C_O_WRITE       0x002
 #define C_O_TRUNC       0x010
 #define C_O_EXCL	0x100
+#define C_O_CREAT	0x200
 
 /* these are to find mode bits in Venus */ 
 #define C_M_READ  00400
@@ -80,6 +81,7 @@
 /* for access Venus will use */
 #define C_A_R_OK    4               /* Test for read permission.  */
 #define C_A_W_OK    2               /* Test for write permission.  */
+#define C_A_C_OK    8               /* Test for writing upon create.  */
 #define C_A_X_OK    1               /* Test for execute permission.  */
 #define C_A_F_OK    0               /* Test for existence.  */
 
@@ -148,8 +150,8 @@
 
 #ifndef _VUID_T_
 #define _VUID_T_
-typedef unsigned int vuid_t;
-typedef unsigned int vgid_t;
+typedef u_int32_t vuid_t;
+typedef u_int32_t vgid_t;
 #endif /*_VUID_T_ */
 
 #ifndef _CODACRED_T_

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov