From: David Teigland Date: Fri, 22 Jun 2007 13:05:01 -0500 Subject: [Cluster-devel] Re: [patch] DLM: fix kconfig dependency In-Reply-To: <20070622140615.GP5193@alberich.amd.com> References: <20070622140615.GP5193@alberich.amd.com> Message-ID: <20070622180500.GD6381@redhat.com> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit On Fri, Jun 22, 2007 at 04:06:15PM +0200, Andreas Herrmann wrote: > Avoid kernel build error (as DLM depends on SYSFS) > > LD vmlinux > fs/built-in.o: In function `dlm_lockspace_init': > : undefined reference to `kernel_subsys' > fs/built-in.o: In function `configfs_init': > mount.c:(.init.text+0xef4): undefined reference to `kernel_subsys' > > Signed-off-by: Andreas Herrmann > > diff --git a/fs/dlm/Kconfig b/fs/dlm/Kconfig > index 69a9469..c0e4c59 100644 > --- a/fs/dlm/Kconfig > +++ b/fs/dlm/Kconfig > @@ -1,5 +1,5 @@ > menu "Distributed Lock Manager" > - depends on EXPERIMENTAL && INET > + depends on EXPERIMENTAL && INET && SYSFS > > config DLM > tristate "Distributed Lock Manager (DLM)" There's a been a lot of back and forth on this from a number of different people: 1/18/06 depends on SYSFS 4/25/06 - depends on SYSFS 2/05/07 + select SYSFS 2/05/07 - select SYSFS + depends on SYSFS 5/01/07 - depends on SYSFS It looks like the last removal was in error and it should be added back. Dave