patch-2.1.47 linux/include/linux/nfsd/syscall.h

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

diff -u --recursive --new-file v2.1.46/linux/include/linux/nfsd/syscall.h linux/include/linux/nfsd/syscall.h
@@ -111,11 +111,11 @@
 /*
  * Kernel syscall implementation.
  */
-#ifdef CONFIG_NFSD
+#if defined(CONFIG_NFSD) || defined(CONFIG_NFSD_MODULE)
 extern asmlinkage int	sys_nfsservctl(int, struct nfsctl_arg *,
 					    union nfsctl_res *);
 #else
-# define sys_nfsservctl	sys_ni_syscall
+#define sys_nfsservctl		sys_ni_syscall
 #endif
 extern int		exp_addclient(struct nfsctl_client *ncp);
 extern int		exp_delclient(struct nfsctl_client *ncp);

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov