From mboxrd@z Thu Jan 1 00:00:00 1970 From: Randy Dunlap Subject: [PATCH] DLM needs SYSFS Date: Fri, 17 Nov 2006 23:30:13 -0800 Message-ID: <20061117233013.e8b8797d.randy.dunlap@oracle.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: swhiteho@redhat.com, akpm Return-path: Received: from rgminet01.oracle.com ([148.87.113.118]:39750 "EHLO rgminet01.oracle.com") by vger.kernel.org with ESMTP id S1756233AbWKRHaQ (ORCPT ); Sat, 18 Nov 2006 02:30:16 -0500 To: linux-fsdevel@vger.kernel.org Sender: linux-fsdevel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org From: Randy Dunlap DLM uses/needs SYSFS (kernel_subsys). This also prevents DLM from being able to select CONFIGFS, which also uses SYSFS and caused yet another build error. Also fix Kconfig help text formatting to use kernel indentation convention. (It seems odd that the menu for DLM depends on INET && IP_SCTP && EXPERIMENTAL, but DLM depends on a different list of symbols.) Signed-off-by: Randy Dunlap --- fs/dlm/Kconfig | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) --- linux-2619-rc6.orig/fs/dlm/Kconfig +++ linux-2619-rc6/fs/dlm/Kconfig @@ -3,18 +3,18 @@ menu "Distributed Lock Manager" config DLM tristate "Distributed Lock Manager (DLM)" - depends on IPV6 || IPV6=n + depends on (IPV6 || IPV6=n) && SYSFS select CONFIGFS_FS help - A general purpose distributed lock manager for kernel or userspace - applications. + A general purpose distributed lock manager for kernel or userspace + applications. config DLM_DEBUG bool "DLM debugging" depends on DLM help - Under the debugfs mount point, the name of each lockspace will - appear as a file in the "dlm" directory. The output is the - list of resource and locks the local node knows about. + Under the debugfs mount point, the name of each lockspace will + appear as a file in the "dlm" directory. The output is the + list of resource and locks the local node knows about. endmenu ---