public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Adrian Bunk <bunk@stusta.de>
To: Christoph Hellwig <hch@infradead.org>,
	Andrew Morton <akpm@osdl.org>,
	Paul Blazejowski <diffie@gmail.com>,
	linux-kernel@vger.kernel.org, Nathan Scott <nathans@sgi.com>
Cc: Roman Zippel <zippel@linux-m68k.org>
Subject: Re: 2.6.11-rc2-mm2
Date: Sun, 30 Jan 2005 13:12:42 +0100	[thread overview]
Message-ID: <20050130121241.GH3185@stusta.de> (raw)
In-Reply-To: <20050130120009.GG3185@stusta.de>

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 <bunk@stusta.de>

--- 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)"


  reply	other threads:[~2005-01-30 12:12 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-30  7:34 2.6.11-rc2-mm2 Paul Blazejowski
2005-01-30  7:56 ` 2.6.11-rc2-mm2 Andrew Morton
2005-01-30 10:54   ` 2.6.11-rc2-mm2 Christoph Hellwig
2005-01-30 10:57     ` 2.6.11-rc2-mm2 Christoph Hellwig
2005-01-30 12:00       ` 2.6.11-rc2-mm2 Adrian Bunk
2005-01-30 12:12         ` Adrian Bunk [this message]
2005-01-30 20:35           ` 2.6.11-rc2-mm2 Paul Blazejowski
2005-01-30 23:00           ` 2.6.11-rc2-mm2 Roman Zippel
2005-01-30 23:10             ` 2.6.11-rc2-mm2 Adrian Bunk
2005-01-30 23:36               ` 2.6.11-rc2-mm2 Roman Zippel
2005-01-31  7:31                 ` 2.6.11-rc2-mm2 Christoph Hellwig
2005-01-31 15:10                 ` 2.6.11-rc2-mm2 Adrian Bunk
2005-01-31 15:16                   ` 2.6.11-rc2-mm2 Roman Zippel
2005-01-31 19:42                     ` 2.6.11-rc2-mm2 Adrian Bunk
2005-01-30 11:38   ` 2.6.11-rc2-mm2 Adrian Bunk
2005-01-31 14:51   ` 2.6.11-rc2-mm2 Christoph Hellwig
2005-01-30 20:45 ` 2.6.11-rc2-mm2 Paul Blazejowski
2005-01-31 19:37   ` 2.6.11-rc2-mm2 Chuck Harding
  -- strict thread matches above, loose matches on Subject: below --
2005-01-29 21:11 2.6.11-rc2-mm2 Andrew Morton
2005-01-29 22:52 ` 2.6.11-rc2-mm2 Brice Goglin
2005-01-29 23:10 ` 2.6.11-rc2-mm2 Sean Neakums
2005-01-29 23:56   ` 2.6.11-rc2-mm2 Sean Neakums
2005-01-30  6:20 ` 2.6.11-rc2-mm2 Andrew Nelson
2005-01-30 11:03   ` 2.6.11-rc2-mm2 Rafael J. Wysocki
2005-01-31 21:15 ` 2.6.11-rc2-mm2 Andre Eisenbach
2005-01-31 21:46   ` 2.6.11-rc2-mm2 Laurent Riffard
2005-02-01  1:26     ` 2.6.11-rc2-mm2 Jim Nelson
2005-02-01 17:25     ` 2.6.11-rc2-mm2 Andre Eisenbach
2005-02-01  9:17 ` 2.6.11-rc2-mm2 Nick Piggin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050130121241.GH3185@stusta.de \
    --to=bunk@stusta.de \
    --cc=akpm@osdl.org \
    --cc=diffie@gmail.com \
    --cc=hch@infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=nathans@sgi.com \
    --cc=zippel@linux-m68k.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox