Re: 2.6.11-rc2-mm2

From: Adrian Bunk (bunk_at_stusta.de)
Date: 01/30/05

  • Next message: Michael Gernoth: "Re: 2.4.29, e100 and a WOL packet causes keventd going mad"
    Date:	Sun, 30 Jan 2005 13:12:42 +0100
    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>
    
    

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

    -
    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/


  • Next message: Michael Gernoth: "Re: 2.4.29, e100 and a WOL packet causes keventd going mad"

    Relevant Pages

    • Re: 2.5/2.6 NVidia (was Re: 2.4 vs 2.6 version of ioport.h)
      ... NVIDIA: AGP 4X successfully initialized ... IIRC, but possibly not the case in the 2.6 .config yet, is that any ... Copyright 2003 by Maurice Eugene Heskett, ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • [PATCH 2/2] ide: remove obsolete CONFIG_BLK_DEV_ADMA - cleanup arch
      ... Cleans up default config for various archs, removing ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: 2.6.12 Performance problems
      ... > The kernel is the standard kernel.org dowload ... > config with SMP turned off and the intel ethernet ... > card drivers as modules without any other ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: 2.6.12 Performance problems
      ... > The kernel is the standard kernel.org dowload ... > config with SMP turned off and the intel ethernet ... > card drivers as modules without any other ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [PATCH] make miniconfig (take 2)
      ... script intercept signals and restore .config on the way out, ... fully reliable because kconfig overwrites .config and ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)