Re: 2.6.11-rc2-mm2

From: Paul Blazejowski
Date: Sun Jan 30 2005 - 15:36:48 EST


On Sun, 30 Jan 2005 13:12:42 +0100, Adrian Bunk <bunk@xxxxxxxxx> 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 <bunk@xxxxxxxxx>
>
> --- 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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/