[-mm patch] DLM must depend on SYSFS

From: Adrian Bunk
Date: Mon Aug 22 2005 - 15:36:32 EST


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


Signed-off-by: Adrian Bunk <bunk@xxxxxxxxx>

--- linux-2.6.13-rc6-mm1-full/drivers/dlm/Kconfig.old 2005-08-22 01:56:18.000000000 +0200
+++ linux-2.6.13-rc6-mm1-full/drivers/dlm/Kconfig 2005-08-22 01:56:38.000000000 +0200
@@ -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

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/