Re: 2.5.5 -- filesystems.c:30: In function `sys_nfsservctl':

Miles Lane (miles@megapathdsl.net)
20 Feb 2002 13:02:38 -0800


On Wed, 2002-02-20 at 12:51, Robert Love wrote:
> On Wed, 2002-02-20 at 15:27, Neil Brown wrote:
>
> > Opps, my mistake.
> >
> > Please try this.
>
> This does not apply to my include/linux/nfsd/interface.h ?
>
> In 2.5.5, that file is 24 lines long. The first hunk applies, but the
> second, at line 155, obviously does not.

FWIW, when I compiled using Steven Cole's patch, it compiles.
I haven't run the kernel yet, though.

--- linux-2.5.5/fs/filesystems.c.orig Wed Feb 20 07:52:36 2002
+++ linux-2.5.5/fs/filesystems.c Wed Feb 20 12:35:42 2002
@@ -22,7 +22,7 @@
{
int ret = -ENOSYS;

-#if defined(CONFIG_MODULES)
+#if defined(CONFIG_NFSD_MODULE)
lock_kernel();

if (nfsd_linkage ||

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