Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261777AbVA3UgB (ORCPT ); Sun, 30 Jan 2005 15:36:01 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261778AbVA3UgB (ORCPT ); Sun, 30 Jan 2005 15:36:01 -0500 Received: from wproxy.gmail.com ([64.233.184.193]:33799 "EHLO wproxy.gmail.com") by vger.kernel.org with ESMTP id S261777AbVA3Ufs (ORCPT ); Sun, 30 Jan 2005 15:35:48 -0500 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=KgtCjR7g3RP8RDjoLjhsRImx28hmFNYVBGS6VYLNwZr7k+pqSOImSXcKLA7o1s+tf5K81BdRdkk49hJZUGyLPtVBYkcEa8xbCe1oaDPf0ns51TSDOX5rjE8BqjtWUCfxND39iTWDaDGwK4VrsImu1zp75KqY9VhiFHt8+XCnMsU= Message-ID: <9dda34920501301235137ebf92@mail.gmail.com> Date: Sun, 30 Jan 2005 15:35:48 -0500 From: Paul Blazejowski Reply-To: Paul Blazejowski To: Adrian Bunk Subject: Re: 2.6.11-rc2-mm2 Cc: Christoph Hellwig , Andrew Morton , linux-kernel@vger.kernel.org, Nathan Scott , Roman Zippel In-Reply-To: <20050130121241.GH3185@stusta.de> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <9dda349205012923347bc6a456@mail.gmail.com> <20050129235653.1d9ba5a9.akpm@osdl.org> <20050130105429.GA28300@infradead.org> <20050130105738.GA28387@infradead.org> <20050130120009.GG3185@stusta.de> <20050130121241.GH3185@stusta.de> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2374 Lines: 80 On Sun, 30 Jan 2005 13:12:42 +0100, Adrian Bunk wrote: > On Sun, Jan 30, 2005 at 01:00:09PM +0100, Adrian Bunk wrote: > >... > > His problem is: > > - CONFIG_NFSD=m > > - CONFIG_EXPORTFS=m > > - CONFIG_XFS=y > > - CONFIG_XFS_EXPORT=y > > > > The builtin fs/xfs/linux-2.6/xfs_export.c can't call the function > > find_exported_dentry in the modular fs/exportfs/expfs.c . > > Below is a patch that should fix these problems. > > It isn't very elebgant, and I've Cc'd Roman Zippel who might be able to > tell how to express these things without two helper variables. > > Signed-off-by: Adrian Bunk > > --- linux-2.6.11-rc2-mm2-test/fs/Kconfig.old 2005-01-30 12:46:07.000000000 +0100 > +++ linux-2.6.11-rc2-mm2-test/fs/Kconfig 2005-01-30 12:51:00.000000000 +0100 > @@ -1476,6 +1476,7 @@ > select LOCKD > select SUNRPC > select NFS_ACL_SUPPORT if NFSD_ACL > + select WANT_EXPORTFS > help > If you want your Linux box to act as an NFS *server*, so that other > computers on your local network which support NFS can access certain > @@ -1560,9 +1561,12 @@ > depends on NFSD_V3 || NFS_V3 > default y > > +config WANT_EXPORTFS > + tristate > + select EXPORTFS > + > config EXPORTFS > tristate > - default NFSD > > config SUNRPC > tristate > --- linux-2.6.11-rc2-mm2-test/fs/xfs/Kconfig.old 2005-01-30 12:46:25.000000000 +0100 > +++ linux-2.6.11-rc2-mm2-test/fs/xfs/Kconfig 2005-01-30 13:04:11.000000000 +0100 > @@ -20,9 +20,15 @@ > system of your root partition is compiled as a module, you'll need > to use an initial ramdisk (initrd) to boot. > > +config XFS_WANT_EXPORT > + tristate > + default XFS_FS > + depends on WANT_EXPORTFS!=n > + select XFS_EXPORT > + select EXPORTFS > + > config XFS_EXPORT > bool > - default y if XFS_FS && EXPORTFS > > config XFS_RT > bool "Realtime support (EXPERIMENTAL)" > > Adrian, This patch works here. Thanks, Paul -- FreeBSD the Power to Serve! - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/