linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* why svc_export_lookup() has no implementation?
@ 2006-05-26  4:15 Xin Zhao
  2006-05-26  4:23 ` Randy.Dunlap
  2006-05-26  4:34 ` Neil Brown
  0 siblings, 2 replies; 4+ messages in thread
From: Xin Zhao @ 2006-05-26  4:15 UTC (permalink / raw)
  To: linux-kernel; +Cc: linux-fsdevel

I noticed that functions like exp_get_by_name() calls function
svc_export_lookup(). But I cannot find the implementation of
svc_export_lookup(). I can only find the function definition. HOw can
this happen?

Can someone give me a hand?

Thanks!

-x

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: why svc_export_lookup() has no implementation?
  2006-05-26  4:15 why svc_export_lookup() has no implementation? Xin Zhao
@ 2006-05-26  4:23 ` Randy.Dunlap
  2006-05-26  4:34 ` Neil Brown
  1 sibling, 0 replies; 4+ messages in thread
From: Randy.Dunlap @ 2006-05-26  4:23 UTC (permalink / raw)
  To: Xin Zhao; +Cc: linux-kernel, linux-fsdevel

On Fri, 26 May 2006 00:15:32 -0400 Xin Zhao wrote:

> I noticed that functions like exp_get_by_name() calls function
> svc_export_lookup(). But I cannot find the implementation of
> svc_export_lookup(). I can only find the function definition. HOw can
> this happen?
> 
> Can someone give me a hand?

Sounds like you need better tools or get them to search like
you mean for them to search.

seee fs/nfsd/export.c

---
~Randy

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: why svc_export_lookup() has no implementation?
  2006-05-26  4:15 why svc_export_lookup() has no implementation? Xin Zhao
  2006-05-26  4:23 ` Randy.Dunlap
@ 2006-05-26  4:34 ` Neil Brown
  2006-05-26  6:06   ` Xin Zhao
  1 sibling, 1 reply; 4+ messages in thread
From: Neil Brown @ 2006-05-26  4:34 UTC (permalink / raw)
  To: Xin Zhao; +Cc: linux-kernel, linux-fsdevel

On Friday May 26, uszhaoxin@gmail.com wrote:
> I noticed that functions like exp_get_by_name() calls function
> svc_export_lookup(). But I cannot find the implementation of
> svc_export_lookup(). I can only find the function definition. HOw can
> this happen?
> 
> Can someone give me a hand?

Look at and understand DefineCacheLookup (in
include/linux/sunrpc/cache.h).

Then look for places that it is used.

But if you find you cannot stomach that, but assured that you aren't
alone and have a look in something newer than 2.6.16.  There-in, and
Randy has suggest, it will be easy to find the definition.

NeilBrown

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: why svc_export_lookup() has no implementation?
  2006-05-26  4:34 ` Neil Brown
@ 2006-05-26  6:06   ` Xin Zhao
  0 siblings, 0 replies; 4+ messages in thread
From: Xin Zhao @ 2006-05-26  6:06 UTC (permalink / raw)
  To: Neil Brown; +Cc: linux-kernel, linux-fsdevel

Thanks a lot! Neil. Now I know what happened. :)

Xin

On 5/26/06, Neil Brown <neilb@suse.de> wrote:
> On Friday May 26, uszhaoxin@gmail.com wrote:
> > I noticed that functions like exp_get_by_name() calls function
> > svc_export_lookup(). But I cannot find the implementation of
> > svc_export_lookup(). I can only find the function definition. HOw can
> > this happen?
> >
> > Can someone give me a hand?
>
> Look at and understand DefineCacheLookup (in
> include/linux/sunrpc/cache.h).
>
> Then look for places that it is used.
>
> But if you find you cannot stomach that, but assured that you aren't
> alone and have a look in something newer than 2.6.16.  There-in, and
> Randy has suggest, it will be easy to find the definition.
>
> NeilBrown
>

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2006-05-26  6:06 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-05-26  4:15 why svc_export_lookup() has no implementation? Xin Zhao
2006-05-26  4:23 ` Randy.Dunlap
2006-05-26  4:34 ` Neil Brown
2006-05-26  6:06   ` Xin Zhao

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).