Эх сурвалжийг харах

[DLM] Fix DLM config

The attached patch fixes the DLM config so that it selects the chosen network
transport. It should fix the bug where DLM can be left selected when NET gets
unselected. This incorporates all the comments received about this patch.

Cc: Adrian Bunk <bunk@stusta.de>
Cc: Andrew Morton <akpm@osdl.org>
Signed-Off-By: Patrick Caulfield <pcaulfie@redhat.com>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Patrick Caulfield 18 жил өмнө
parent
commit
b98c95af01
1 өөрчлөгдсөн 2 нэмэгдсэн , 1 устгасан
  1. 2 1
      fs/dlm/Kconfig

+ 2 - 1
fs/dlm/Kconfig

@@ -1,10 +1,11 @@
 menu "Distributed Lock Manager"
 menu "Distributed Lock Manager"
-	depends on INET && IP_SCTP && EXPERIMENTAL
+	depends on EXPERIMENTAL && INET
 
 
 config DLM
 config DLM
 	tristate "Distributed Lock Manager (DLM)"
 	tristate "Distributed Lock Manager (DLM)"
 	depends on IPV6 || IPV6=n
 	depends on IPV6 || IPV6=n
 	select CONFIGFS_FS
 	select CONFIGFS_FS
+	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
 	applications.
 	applications.