patch-2.3.42 linux/include/linux/nfsd/nfsd.h

Next file: linux/include/linux/pci.h
Previous file: linux/include/linux/nfsd/export.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.41/linux/include/linux/nfsd/nfsd.h linux/include/linux/nfsd/nfsd.h
@@ -35,8 +35,9 @@
 #define MAY_NOP			0
 #define MAY_SATTR		8
 #define MAY_TRUNC		16
-#if (MAY_SATTR | MAY_TRUNC) & (MAY_READ | MAY_WRITE | MAY_EXEC)
-# error "please use a different value for MAY_SATTR or MAY_TRUNC."
+#define MAY_LOCK		32
+#if (MAY_SATTR | MAY_TRUNC | MAY_LOCK) & (MAY_READ | MAY_WRITE | MAY_EXEC)
+# error "please use a different value for MAY_SATTR or MAY_TRUNC or MAY_LOCK."
 #endif
 #define MAY_CREATE		(MAY_EXEC|MAY_WRITE)
 #define MAY_REMOVE		(MAY_EXEC|MAY_WRITE|MAY_TRUNC)

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)