2001-12-11 13:18:16

by Craig Christophel

[permalink] [raw]
Subject: 2.5.1-pre8 -- fix to compile nfs as module

Attached is a patch to allow nfs to compile as a module. Please check it out
as I just:

exported symbols from fs/seq_file.c
added the seq_file.o to the obj-exports in the VFS Makefile and
added an ifdef for modversions in fs/nfs/inode.c.


Craig.


Attachments:
nfs-module-2.5-unresolved-symbols.diff (2.34 kB)

2001-12-11 23:48:55

by Keith Owens

[permalink] [raw]
Subject: Re: 2.5.1-pre8 -- fix to compile nfs as module

On Tue, 11 Dec 2001 08:19:35 -0500,
Craig Christophel <[email protected]> wrote:
>added an ifdef for modversions in fs/nfs/inode.c.

Don't! The Makefile automatically adds modversions.h when required,
any code that explicitly includes modversions.h is broken.

2001-12-12 02:44:43

by Craig Christophel

[permalink] [raw]
Subject: Re: 2.5.1-pre8 -- fix to compile nfs as module

Thanks for the tip..... I thought that could be incorrect.


well here is an updated patch without the modversions stuff.


Craig.

On Tuesday 11 December 2001 18:48, Keith Owens wrote:
> On Tue, 11 Dec 2001 08:19:35 -0500,
>
> Craig Christophel <[email protected]> wrote:
> >added an ifdef for modversions in fs/nfs/inode.c.
>
> Don't! The Makefile automatically adds modversions.h when required,
> any code that explicitly includes modversions.h is broken.
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to [email protected]
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/


Attachments:
nfs-module-2.5-unresolved-symbols.diff (2.00 kB)