From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Xin Zhao" Subject: Re: why svc_export_lookup() has no implementation? Date: Fri, 26 May 2006 02:06:58 -0400 Message-ID: <4ae3c140605252306p4d4599c9g4e4e085a1b786144@mail.gmail.com> References: <4ae3c140605252115n7b040a99l6633ba387ce48358@mail.gmail.com> <17526.34136.986510.885941@cse.unsw.edu.au> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7BIT Cc: linux-kernel , linux-fsdevel@vger.kernel.org Return-path: Received: from wr-out-0506.google.com ([64.233.184.238]:55190 "EHLO wr-out-0506.google.com") by vger.kernel.org with ESMTP id S1030372AbWEZGG7 convert rfc822-to-8bit (ORCPT ); Fri, 26 May 2006 02:06:59 -0400 Received: by wr-out-0506.google.com with SMTP id i34so1976118wra for ; Thu, 25 May 2006 23:06:58 -0700 (PDT) To: "Neil Brown" In-Reply-To: <17526.34136.986510.885941@cse.unsw.edu.au> Content-Disposition: inline Sender: linux-fsdevel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org Thanks a lot! Neil. Now I know what happened. :) Xin On 5/26/06, Neil Brown 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 >