patch-2.4.19 linux-2.4.19/include/linux/nfsd/interface.h

Next file: linux-2.4.19/include/linux/nls.h
Previous file: linux-2.4.19/include/linux/nfsd/export.h
Back to the patch index
Back to the overall index

diff -urN linux-2.4.18/include/linux/nfsd/interface.h linux-2.4.19/include/linux/nfsd/interface.h
@@ -12,12 +12,15 @@
 
 #include <linux/config.h>
 
-#ifdef CONFIG_NFSD_MODULE
+#ifndef CONFIG_NFSD
+# ifdef CONFIG_MODULES
 
 extern struct nfsd_linkage {
 	long (*do_nfsservctl)(int cmd, void *argp, void *resp);
+	struct module *owner;
 } * nfsd_linkage;
 
+# endif
 #endif
 
 #endif /* LINUX_NFSD_INTERFACE_H */

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)