summaryrefslogtreecommitdiffstats
path: root/include/linux/dlm_device.h
diff options
context:
space:
mode:
authorDavid Teigland <teigland@redhat.com>2008-08-06 13:30:24 -0500
committerDavid Teigland <teigland@redhat.com>2008-08-28 11:49:15 -0500
commit0f8e0d9a317406612700426fad3efab0b7bbc467 (patch)
treeb4ed35afeab36615e50d5c7928a6199780fd2fca /include/linux/dlm_device.h
parent4c246edd2550304df5b766cc841584b2bb058843 (diff)
downloadlinux-0f8e0d9a317406612700426fad3efab0b7bbc467.tar.gz
linux-0f8e0d9a317406612700426fad3efab0b7bbc467.tar.bz2
linux-0f8e0d9a317406612700426fad3efab0b7bbc467.zip
dlm: allow multiple lockspace creates
Add a count for lockspace create and release so that create can be called multiple times to use the lockspace from different places. Also add the new flag DLM_LSFL_NEWEXCL to create a lockspace with the previous behavior of returning -EEXIST if the lockspace already exists. Signed-off-by: David Teigland <teigland@redhat.com>
Diffstat (limited to 'include/linux/dlm_device.h')
-rw-r--r--include/linux/dlm_device.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/dlm_device.h b/include/linux/dlm_device.h
index c6034508fed9..3060783c4191 100644
--- a/include/linux/dlm_device.h
+++ b/include/linux/dlm_device.h
@@ -26,7 +26,7 @@
/* Version of the device interface */
#define DLM_DEVICE_VERSION_MAJOR 6
#define DLM_DEVICE_VERSION_MINOR 0
-#define DLM_DEVICE_VERSION_PATCH 0
+#define DLM_DEVICE_VERSION_PATCH 1
/* struct passed to the lock write */
struct dlm_lock_params {