From: Neil Brown Subject: Re: why svc_export_lookup() has no implementation? Date: Fri, 26 May 2006 14:34:32 +1000 Message-ID: <17526.34136.986510.885941@cse.unsw.edu.au> References: <4ae3c140605252115n7b040a99l6633ba387ce48358@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: linux-kernel , linux-fsdevel@vger.kernel.org Return-path: Received: from cantor.suse.de ([195.135.220.2]:58816 "EHLO mx1.suse.de") by vger.kernel.org with ESMTP id S1030406AbWEZEej (ORCPT ); Fri, 26 May 2006 00:34:39 -0400 To: "Xin Zhao" In-Reply-To: message from Xin Zhao on Friday May 26 Sender: linux-fsdevel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org 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