summaryrefslogtreecommitdiff
path: root/lib/locking/lvmlockd.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/locking/lvmlockd.h')
-rw-r--r--lib/locking/lvmlockd.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/locking/lvmlockd.h b/lib/locking/lvmlockd.h
index 2aeaaee7d..87b49ccfe 100644
--- a/lib/locking/lvmlockd.h
+++ b/lib/locking/lvmlockd.h
@@ -19,6 +19,14 @@
#define LOCK_TYPE_DLM 2
#define LOCK_TYPE_SANLOCK 3
+/* lvmlockd_send result flags */
+#define LD_RF_NO_LOCKSPACES 0x00000001
+#define LD_RF_NO_GL_LS 0x00000002
+#define LD_RF_LOCAL_LS 0x00000004
+#define LD_RF_DUP_GL_LS 0x00000008
+#define LD_RF_INACTIVE_LS 0x00000010
+#define LD_RF_ADD_LS_ERROR 0x00000020
+
/*
* lock_type lock_type_num
* "none" -> LOCK_TYPE_NONE