Patch for 2.4.19pre11/fs/filesystems.c

From: Thomas Reifferscheid (reiffer@kph.uni-mainz.de)
Date: Thu Oct 24 2002 - 22:52:34 EST


When I do
CONFIG_NFSD=M
and want to insert the module I get:

unresolved symbol nfsd_linkage

which already was described by Jean-Luc Fontaine in
http://marc.theaimsgroup.com/?l=linux-kernel&m=98173746131993&w=2

My patch solves this and works for me.

Cheers,
Thomas

--- linux-2.4.20pre11-orig/fs/filesystems.c Sat Aug 3 02:39:45 2002
+++ linux-2.4.20pre11/fs/filesystems.c Fri Oct 25 04:44:15 2002
@@ -13,7 +13,7 @@
 #include <linux/kmod.h>
 #include <linux/nfsd/interface.h>
 
-#if ! defined(CONFIG_NFSD)
+#if ! defined(CONFIG_NFSD) || defined(CONFIG_NFSD_MODULE)
 struct nfsd_linkage *nfsd_linkage;
 
 long
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Oct 31 2002 - 22:00:26 EST