2002-10-13 18:44:20

by Adam J. Richter

[permalink] [raw]
Subject: Patch?: linux-2.5.42/net/sunrpc/sunrpc_syms.c - symbols needed by new nfsd

nfsd in 2.5.42 needs a bunch of symbols that the sunrpc module
does not export. This patch adds them to net/sunrpc/sunrpc_syms.c.
I am now running the nfsd and sunrpc modules based on this patch.

I suspect that some of symbol exports in this patch may need
to be bracketed in some kind of #ifdef CONFIG_foo....#endif conditionals.

Also, I know that having a central exports file like
sunrpc_syms.c impedes efforts to split the module if it turns out
that some users of it only need certain functions, but I thought I
ought to keep this patch as small as possible. I would be happy to
make a patch to move the EXPORT_SYMBOL declarations in sunrpc_syms.c
to the files that actually define them if there is interest.

--
Adam J. Richter __ ______________ 575 Oroville Road
[email protected] \ / Milpitas, California 95035
+1 408 309-6081 | g g d r a s i l United States of America
"Free Software For The Rest Of Us."


Attachments:
(No filename) (989.00 B)
sunrpc.diff (782.00 B)
Download all attachments

2002-10-13 22:49:57

by NeilBrown

[permalink] [raw]
Subject: Re: Patch?: linux-2.5.42/net/sunrpc/sunrpc_syms.c - symbols needed by new nfsd

On Sunday October 13, [email protected] wrote:
> nfsd in 2.5.42 needs a bunch of symbols that the sunrpc module
> does not export. This patch adds them to net/sunrpc/sunrpc_syms.c.
> I am now running the nfsd and sunrpc modules based on this patch.

Thanks. A similar patch has been sent to Linus and hopefully will
appear in bk soon...

NeilBrown