2.5.63 - if/ifdef janitor work - actual bug found..

Valdis.Kletnieks@vt.edu
Thu, 27 Feb 2003 14:46:10 -0500


--==_Exmh_1352218482P
Content-Type: text/plain; charset=us-ascii

The previous patches cleaned things up enough that -Wundef doesn't trigger
a lot of false positives.. which made this one visible. There's no other
occurrence of MAX_OWNER_OVERRIDE in the tree, and it's obviously not
MAY_OWNER_OVERRIDE either. Looks like just remaindered cruft that I've
cleaned up....

--- include/linux/nfsd/nfsd.h.dist 2003-02-24 14:06:01.000000000 -0500
+++ include/linux/nfsd/nfsd.h 2003-02-27 00:21:53.957428476 -0500
@@ -39,7 +39,7 @@
#define MAY_LOCK 32
#define MAY_OWNER_OVERRIDE 64
#define MAY_LOCAL_ACCESS 128 /* IRIX doing local access check on device special file*/
-#if (MAY_SATTR | MAY_TRUNC | MAY_LOCK | MAX_OWNER_OVERRIDE | MAY_LOCAL_ACCESS) & (MAY_READ | MAY_WRITE | MAY_EXEC | MAY_OWNER_OVERRIDE)
+#if (MAY_SATTR | MAY_TRUNC | MAY_LOCK | MAY_LOCAL_ACCESS) & (MAY_READ | MAY_WRITE | MAY_EXEC | MAY_OWNER_OVERRIDE)
# error "please use a different value for MAY_SATTR or MAY_TRUNC or MAY_LOCK or MAY_OWNER_OVERRIDE."
#endif
#define MAY_CREATE (MAY_EXEC|MAY_WRITE)

--==_Exmh_1352218482P
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Exmh version 2.5 07/13/2001

iD8DBQE+XmsCcC3lWbTT17ARAlKPAKCgn+ctrKYzi9bwpp70OVQNPVfp3wCdH/Zi
4/BFc+ZaBvKKP3zTwfsrq24=
=Ye4O
-----END PGP SIGNATURE-----

--==_Exmh_1352218482P--
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/