lkml.org 
[lkml]   [2002]   [Feb]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH] 2.5.5: compile error in fs/filesystems.c
On Friday March 1, olaf.dietsche--list.linux-kernel@exmail.de wrote:
> Hi Neil,
>
> here is a patch to fix fs/filesystems.c, if you configure neither NFSD
> nor NFSD_MODULE, but CONFIG_MODULES.

Thanks.
2.5.6-pre2 already has a patch for this.

NeilBrown

>
> 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 */
-
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:21    [W:0.041 / U:0.092 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site