Skip to contentSkip to conversation

DLM must depend on SYSFS

PATCH In review Adrian Bunk 2 participants 2 messages Aug 22, 2005 – Aug 23, 2005

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 DLM must depend on SYSFS

CONFIG_DLM=y and CONFIG_SYSFS=n results in the following compile error:

<-- snip -->

...
LD vmlinux
drivers/built-in.o:(.data+0x282340): undefined reference to `kernel_subsys'
make: *** [vmlinux] Error 1

<-- snip -->

drivers/dlm/Kconfig renamed from drivers/dlm/Kconfig.old +1 -0
@@ -3,6 +3,7 @@
 
 config DLM
 	tristate "Distributed Lock Manager (DLM)"
+	depends on SYSFS
 	depends on IPV6 || IPV6=n
 	select IP_SCTP
 	select CONFIGFS_FS
#1 lore raw
Quoted 6 lines · Adrian Bunk

config DLM
tristate "Distributed Lock Manager (DLM)"
+ depends on SYSFS

        depends on IPV6 || IPV6=n
        select IP_SCTP
        select CONFIGFS_FS

Thanks, you added this once before but it got clobbered by your subsequent depends on IPV6 patch.

Dave