patch-2.2.14 linux/include/linux/nfsd/syscall.h
Next file: linux/include/linux/openpic.h
Previous file: linux/include/linux/nfsd/stats.h
Back to the patch index
Back to the overall index
-  Lines: 22
-  Date:
Tue Jan  4 10:12:25 2000
-  Orig file: 
v2.2.13/linux/include/linux/nfsd/syscall.h
-  Orig date: 
Mon Dec 28 14:10:01 1998
diff -u --recursive --new-file v2.2.13/linux/include/linux/nfsd/syscall.h linux/include/linux/nfsd/syscall.h
@@ -35,6 +35,9 @@
 #define NFSCTL_GETFH		6	/* get an fh by ino (used by mountd) */
 #define NFSCTL_GETFD		7	/* get an fh by path (used by mountd) */
 
+/* Above this is for lockd. */
+#define NFSCTL_LOCKD		0x10000
+
 /* SVC */
 struct nfsctl_svc {
 	unsigned short		svc_port;
@@ -121,11 +124,7 @@
 /*
  * Kernel syscall implementation.
  */
-#if defined(CONFIG_NFSD) || defined(CONFIG_NFSD_MODULE)
 extern asmlinkage int	sys_nfsservctl(int, void *, void *);
-#else
-#define sys_nfsservctl		sys_ni_syscall
-#endif
 extern int		exp_addclient(struct nfsctl_client *ncp);
 extern int		exp_delclient(struct nfsctl_client *ncp);
 extern int		exp_export(struct nfsctl_export *nxp);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)