In 2.5.x, fs/filesystems.c does not compile if nfsd is not
compiled in and CONFIG_MODULES is defined. The attached
patch fixes it.
MCE
=====================================================================
--- include/linux/nfsd/interface.h.old Thu Feb 21 01:26:04 2002
+++ include/linux/nfsd/interface.h Sat Feb 23 01:46:14 2002
@@ -12,12 +12,14 @@
#include <linux/config.h>
-#ifdef CONFIG_NFSD_MODULE
-
-extern struct nfsd_linkage {
+struct nfsd_linkage {
long (*do_nfsservctl)(int cmd, void *argp, void *resp);
struct module *owner;
-} * nfsd_linkage;
+};
+
+#ifdef CONFIG_NFSD_MODULE
+
+extern struct nfsd_linkage * nfsd_linkage;
#endif
--
========================================================================
M. Eyckmans (MCE) Code of the Geeks v3.1 mce-at-pi-dot-be
GCS d+ s+:- a36 C+++$ UHLUASO+++$ P+ L+++ E--- W++ N+++ !o K w--- !O M--
V-- PS+ PE+ Y+ PGP- t--- !5 !X R- tv- b+ DI++ D-- G++ e+++ h+(*) !r y?
========================================================================
--
========================================================================
M. Eyckmans (MCE) Code of the Geeks v3.1 mce-at-pi-dot-be
GCS d+ s+:- a36 C+++$ UHLUASO+++$ P+ L+++ E--- W++ N+++ !o K w--- !O M--
V-- PS+ PE+ Y+ PGP- t--- !5 !X R- tv- b+ DI++ D-- G++ e+++ h+(*) !r y?
========================================================================