dlm: build
PATCH 8/8 dlm: build
Adds the dlm to the build system.
Signed-off-by Dave Teigland <[email protected]>
Signed-off-by Patrick Caulfield <[email protected]>
---
drivers/Kconfig | 2 ++ drivers/Makefile | 1 + drivers/dlm/Kconfig | 27 +++++++++++++++++++++++++++ drivers/dlm/Makefile | 23 +++++++++++++++++++++++ 4 files changed, 53 insertions(+)
drivers/dlm/Makefile +23 -0
@@ -0,0 +1,23 @@ +obj-$(CONFIG_DLM) += dlm.o +obj-$(CONFIG_DLM_DEVICE) += dlm_device.o + +dlm-y := ast.o \ + config.o \ + dir.o \ + lock.o \ + lockspace.o \ + lowcomms.o \ + main.o \ + member.o \ + member_sysfs.o \ + memory.o \ + midcomms.o \ + node_ioctl.o \ + rcom.o \ + recover.o \ + recoverd.o \ + requestqueue.o \ + util.o +dlm-$(CONFIG_DLM_DEBUG) += debug_fs.o + +dlm_device-y := device.o
drivers/Makefile 2005-04-25 16:10:10.228660648 +0800 renamed from drivers/Makefile 2005-04-25 15:40:15.000000000 +0800 +1 -0
@@ -64,3 +64,4 @@ obj-$(CONFIG_BLK_DEV_SGIIOC4) += sn/ obj-y += firmware/ obj-$(CONFIG_CRYPTO) += crypto/ +obj-$(CONFIG_DLM) += dlm/
drivers/dlm/Kconfig +27 -0
@@ -0,0 +1,27 @@ +menu "Distributed Lock Manager" + depends on INET && EXPERIMENTAL + +config DLM + tristate "Distributed Lock Manager (DLM)" + select IP_SCTP + help + A general purpose distributed lock manager for kernel or userspace + applications. + +config DLM_DEVICE + tristate "DLM device for userspace access" + depends on DLM + help + This module creates a misc device through which the dlm lockspace + and locking functions become available to userspace applications + (usually through the libdlm library). + +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. + +endmenu
drivers/Kconfig 2005-04-25 16:01:50.476634504 +0800 renamed from drivers/Kconfig 2005-03-02 15:38:26.000000000 +0800 +2 -0
@@ -58,4 +58,6 @@ source "drivers/infiniband/Kconfig" +source "drivers/dlm/Kconfig" + endmenu