lkml.org 
[lkml]   [2002]   [Feb]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Subject[PATCH] fs/filesystems.c compile failure in 2.5.x
Date
From

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?
========================================================================
-
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/

\
 
 \ /
  Last update: 2005-03-22 13:24    [W:0.047 / U:0.352 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site