• Adrian Bunk's avatar
    [GFS2/DLM] fix GFS2 circular dependency · 00117277
    Adrian Bunk authored
    On Sun, Jan 28, 2007 at 11:08:18AM +0100, Jiri Slaby wrote:
    > Andrew Morton napsal(a):
    > >Temporarily at
    > >
    > >	http://userweb.kernel.org/~akpm/2.6.20-rc6-mm1/
    >
    > Unable to select IPV6. Menuconfig doesn't offer it when INET is selected.
    > When it's not it appears in the menu, but after state change it gets away.
    > The same behaviour in xconfig, gconfig.
    >
    > $ mkdir ../a/tst
    > $ make O=../a/tst menuconfig
    >   HOSTCC  scripts/basic/fixdep
    > [...]
    >   HOSTLD  scripts/kconfig/mconf
    > scripts/kconfig/mconf arch/i386/Kconfig
    > Warning! Found recursive dependency: INET GFS2_FS_LOCKING_DLM SYSFS
    > OCFS2_FS INET
    >
    > Maybe this is the problem?
    
    Yes, patch below.
    
    > regards,
    
    cu
    Adrian
    
    <--  snip  -->
    
    This patch fixes a circular dependency by letting GFS2_FS_LOCKING_DLM
    and DLM depend on instead of select SYSFS.
    
    Since SYSFS depends on EMBEDDED this change shouldn't cause any problems
    for users.
    Signed-off-by: default avatarAdrian Bunk <bunk@stusta.de>
    Acked-by: default avatarRandy Dunlap <randy.dunlap@oracle.com>
    Signed-off-by: default avatarSteven Whitehouse <swhiteho@redhat.com>
    00117277
Kconfig 895 Bytes