mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] 2.5.5: compile error in fs/filesystems.c
@ 2002-02-28 23:49 Olaf Dietsche
  2002-02-28 23:57 ` Neil Brown
  0 siblings, 1 reply; 5+ messages in thread
From: Olaf Dietsche @ 2002-02-28 23:49 UTC (permalink / raw)
  To: Neil Brown; +Cc: nfs-devel, linux-kernel

Hi Neil,

here is a patch to fix fs/filesystems.c, if you configure neither NFSD
nor NFSD_MODULE, but CONFIG_MODULES.

Regards, Olaf.

--- v2.5.5/fs/filesystems.c	Thu Feb 28 22:41:18 2002
+++ linux/fs/filesystems.c	Fri Mar  1 00:16:29 2002
@@ -15,14 +15,17 @@
 #include <linux/linkage.h>
 
 #if ! defined(CONFIG_NFSD)
+#if defined(CONFIG_NFSD_MODULES)
 struct nfsd_linkage *nfsd_linkage;
+EXPORT_SYMBOL(nfsd_linkage);
+#endif
 
 long
 asmlinkage sys_nfsservctl(int cmd, void *argp, void *resp)
 {
 	int ret = -ENOSYS;
 	
-#if defined(CONFIG_MODULES)
+#if defined(CONFIG_NFSD_MODULES)
 	lock_kernel();
 
 	if (nfsd_linkage ||
@@ -36,6 +39,5 @@
 #endif
 	return ret;
 }
-EXPORT_SYMBOL(nfsd_linkage);
 
 #endif /* CONFIG_NFSD */

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2002-03-01  7:56 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-02-28 23:49 [PATCH] 2.5.5: compile error in fs/filesystems.c Olaf Dietsche
2002-02-28 23:57 ` Neil Brown
2002-03-01  0:58   ` Olaf Dietsche
2002-03-01  1:07     ` Neil Brown
2002-03-01  7:48       ` Olaf Dietsche

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®