Opps, my mistake.
Please try this.
NeilBrown
--- ./include/linux/nfsd/interface.h 2002/02/18 22:58:10 1.3
+++ ./include/linux/nfsd/interface.h 2002/02/20 20:25:55
@@ -138,7 +138,8 @@
-#ifdef CONFIG_NFSD_MODULE
+#ifndef CONFIG_NFSD
+#ifdef CONFIG_MODULE
extern struct nfsd_linkage {
long (*do_nfsservctl)(int cmd, void *argp, void *resp);
@@ -155,13 +156,11 @@
# define nfsd_find_fh_dentry (nfsd_linkage->find_fh_dentry)
#else
-# ifndef CONFIG_NFSD
# define nfsd_find_fh_dentry(a,b,c,d,e) *((char*)0)=0
/* filesystems can use "#ifndef NO_CONFIG_NFSD" to exclude code that is only needed
* by knfsd
*/
# define NO_CONFIG_NFSD
-# endif
#endif
#endif /* LINUX_NFSD_INTERFACE_H */
-
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/