Commit 00117277 authored by Adrian Bunk's avatar Adrian Bunk Committed by Steven Whitehouse

[GFS2/DLM] fix GFS2 circular dependency

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>
parent 67f55897
...@@ -3,9 +3,8 @@ menu "Distributed Lock Manager" ...@@ -3,9 +3,8 @@ menu "Distributed Lock Manager"
config DLM config DLM
tristate "Distributed Lock Manager (DLM)" tristate "Distributed Lock Manager (DLM)"
depends on IPV6 || IPV6=n depends on SYSFS && (IPV6 || IPV6=n)
select CONFIGFS_FS select CONFIGFS_FS
select SYSFS
select IP_SCTP if DLM_SCTP select IP_SCTP if DLM_SCTP
help help
A general purpose distributed lock manager for kernel or userspace A general purpose distributed lock manager for kernel or userspace
......
...@@ -34,11 +34,10 @@ config GFS2_FS_LOCKING_NOLOCK ...@@ -34,11 +34,10 @@ config GFS2_FS_LOCKING_NOLOCK
config GFS2_FS_LOCKING_DLM config GFS2_FS_LOCKING_DLM
tristate "GFS2 DLM locking module" tristate "GFS2 DLM locking module"
depends on GFS2_FS && NET && INET && (IPV6 || IPV6=n) depends on GFS2_FS && SYSFS && NET && INET && (IPV6 || IPV6=n)
select IP_SCTP if DLM_SCTP select IP_SCTP if DLM_SCTP
select CONFIGFS_FS select CONFIGFS_FS
select DLM select DLM
select SYSFS
help help
Multiple node locking module for GFS2 Multiple node locking module for GFS2
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment