patch-2.2.18 linux/include/linux/nfsd/export.h
Next file: linux/include/linux/nfsd/nfsd.h
Previous file: linux/include/linux/nfsd/const.h
Back to the patch index
Back to the overall index
- Lines: 36
- Date:
Sun Oct 15 21:15:18 2000
- Orig file:
v2.2.17/include/linux/nfsd/export.h
- Orig date:
Fri Apr 21 23:11:46 2000
diff -u --new-file --recursive --exclude-from /usr/src/exclude v2.2.17/include/linux/nfsd/export.h linux/include/linux/nfsd/export.h
@@ -4,16 +4,17 @@
* Public declarations for NFS exports. The definitions for the
* syscall interface are in nfsctl.h
*
- * Copyright (C) 1995, 1996 Olaf Kirch <okir@monad.swb.de>
+ * Copyright (C) 1995-1997 Olaf Kirch <okir@monad.swb.de>
*/
#ifndef NFSD_EXPORT_H
#define NFSD_EXPORT_H
-#include <linux/types.h>
-#include <linux/socket.h>
-#include <linux/in.h>
-#include <linux/fs.h>
+#include <asm/types.h>
+#ifdef __KERNEL__
+# include <linux/types.h>
+# include <linux/in.h>
+#endif
/*
* Important limits for the exports stuff.
@@ -34,8 +35,10 @@
#define NFSEXP_UIDMAP 0x0040
#define NFSEXP_KERBEROS 0x0080 /* not available */
#define NFSEXP_SUNSECURE 0x0100
-#define NFSEXP_CROSSMNT 0x0200 /* not available */
-#define NFSEXP_ALLFLAGS 0x03FF
+#define NFSEXP_CROSSMNT 0x0200
+#define NFSEXP_NOSUBTREECHECK 0x0400
+#define NFSEXP_NOAUTHNLM 0x0800 /* Don't authenticate NLM requests - just trust */
+#define NFSEXP_ALLFLAGS 0x0FFF
#ifdef __KERNEL__
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)