summaryrefslogtreecommitdiff
path: root/include/linux/dlm_device.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/dlm_device.h')
-rw-r--r--include/linux/dlm_device.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/include/linux/dlm_device.h b/include/linux/dlm_device.h
index f8ba1981aa96..2a2dd189b9fd 100644
--- a/include/linux/dlm_device.h
+++ b/include/linux/dlm_device.h
@@ -18,35 +18,37 @@
#define DLM_USER_LVB_LEN 32
/* Version of the device interface */
-#define DLM_DEVICE_VERSION_MAJOR 4
+#define DLM_DEVICE_VERSION_MAJOR 5
#define DLM_DEVICE_VERSION_MINOR 0
#define DLM_DEVICE_VERSION_PATCH 0
/* struct passed to the lock write */
struct dlm_lock_params {
__u8 mode;
+ __u8 namelen;
__u16 flags;
__u32 lkid;
__u32 parent;
- __u8 namelen;
void __user *castparam;
void __user *castaddr;
void __user *bastparam;
void __user *bastaddr;
struct dlm_lksb __user *lksb;
char lvb[DLM_USER_LVB_LEN];
- char name[1];
+ char name[0];
};
struct dlm_lspace_params {
__u32 flags;
__u32 minor;
- char name[1];
+ char name[0];
};
struct dlm_write_request {
__u32 version[3];
__u8 cmd;
+ __u8 is64bit;
+ __u8 unused[2];
union {
struct dlm_lock_params lock;
@@ -63,6 +65,7 @@ struct dlm_lock_result {
struct dlm_lksb __user * user_lksb;
struct dlm_lksb lksb;
__u8 bast_mode;
+ __u8 unused[3];
/* Offsets may be zero if no data is present */
__u32 lvb_offset;
};