[patch] DLM: fix kconfig dependency

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <[email protected]>

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



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

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux