1Status: trivial
2
3Fix errors with MAY_* value checking
4
5Typos and sillyness...
6
7 ----------- Diffstat output ------------
8 ./include/linux/nfsd/nfsd.h |    4 ++--
9 1 files changed, 2 insertions(+), 2 deletions(-)
10
11diff ./include/linux/nfsd/nfsd.h~current~ ./include/linux/nfsd/nfsd.h
12--- ./include/linux/nfsd/nfsd.h~current~	2003-04-17 10:31:15.000000000 +1000
13+++ ./include/linux/nfsd/nfsd.h	2003-04-17 10:31:08.000000000 +1000
14@@ -39,8 +39,8 @@
15 #define MAY_LOCK		32
16 #define MAY_OWNER_OVERRIDE	64
17 #define	MAY_LOCAL_ACCESS	128 /* IRIX doing local access check on device special file*/
18-#if (MAY_SATTR | MAY_TRUNC | MAY_LOCK | MAX_OWNER_OVERRIDE | MAY_LOCAL_ACCESS) & (MAY_READ | MAY_WRITE | MAY_EXEC | MAY_OWNER_OVERRIDE)
19-# error "please use a different value for MAY_SATTR or MAY_TRUNC or MAY_LOCK or MAY_OWNER_OVERRIDE."
20+#if (MAY_SATTR | MAY_TRUNC | MAY_LOCK | MAY_OWNER_OVERRIDE | MAY_LOCAL_ACCESS) & (MAY_READ | MAY_WRITE | MAY_EXEC)
21+# error "please use a different value for MAY_SATTR or MAY_TRUNC or MAY_LOCK or MAY_LOCAL_ACCESS or MAY_OWNER_OVERRIDE."
22 #endif
23 #define MAY_CREATE		(MAY_EXEC|MAY_WRITE)
24 #define MAY_REMOVE		(MAY_EXEC|MAY_WRITE|MAY_TRUNC)
25