Skip to contentSkip to conversation

Patch for 2.4.20pre11/fs/filesystems.c

PATCH Thomas Reifferscheid 1 participant 1 message Oct 25, 2002

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

When I do

CONFIG_NFS_FS=m
# CONFIG_NFS_V3 is not set
# CONFIG_ROOT_NFS is not set
CONFIG_NFSD=m
# CONFIG_NFSD_V3 is not set
# CONFIG_NFSD_TCP is not set
# CONFIG_NCPFS_NFS_NS is not set

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

Where as I do:

CONFIG_NFS_FS=m
# CONFIG_NFS_V3 is not set
# CONFIG_ROOT_NFS is not set
CONFIG_NFSD=y
# CONFIG_NFSD_V3 is not set
# CONFIG_NFSD_TCP is not set
# CONFIG_NCPFS_NFS_NS is not set

everything works pretty fine.

You can see some changes have been made here:
http://groups.google.de/groups?q=filesystems.c+torvalds&hl=de&lr=&ie=UTF-8&selm=nfs-valinux.15468.35577.461935.694932%40notabene.cse.unsw.edu.au&rnum=1

My patch does solve this and works for me.

Cheers,
Thomas

fs/filesystems.c Fri Oct 25 04:44:15 2002 renamed from fs/filesystems.c Sat Aug 3 02:39:45 2002 +1 -1
@@ -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

-------------------------------------------------------
This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now.
http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs