diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2009-03-29 23:04:53 -0400 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2009-03-29 23:04:53 -0400 |
commit | 9ff9a26b786c35ee8d2a66222924a807ec851a9f (patch) | |
tree | db432a17bccca1ca2c16907f0ee83ac449ed4012 /include/linux/dlm_netlink.h | |
parent | 0a3108beea9143225119d5e7c72a8e2c64f3eb7d (diff) | |
parent | 0d34fb8e93ceba7b6dad0062dbb4a0813bacd75b (diff) |
Merge commit 'origin/master' into next
Manual merge of:
arch/powerpc/include/asm/elf.h
drivers/i2c/busses/i2c-mpc.c
Diffstat (limited to 'include/linux/dlm_netlink.h')
-rw-r--r-- | include/linux/dlm_netlink.h | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/include/linux/dlm_netlink.h b/include/linux/dlm_netlink.h index 19276332707a..647c8ef27227 100644 --- a/include/linux/dlm_netlink.h +++ b/include/linux/dlm_netlink.h | |||
@@ -9,6 +9,8 @@ | |||
9 | #ifndef _DLM_NETLINK_H | 9 | #ifndef _DLM_NETLINK_H |
10 | #define _DLM_NETLINK_H | 10 | #define _DLM_NETLINK_H |
11 | 11 | ||
12 | #include <linux/types.h> | ||
13 | |||
12 | enum { | 14 | enum { |
13 | DLM_STATUS_WAITING = 1, | 15 | DLM_STATUS_WAITING = 1, |
14 | DLM_STATUS_GRANTED = 2, | 16 | DLM_STATUS_GRANTED = 2, |
@@ -18,16 +20,16 @@ enum { | |||
18 | #define DLM_LOCK_DATA_VERSION 1 | 20 | #define DLM_LOCK_DATA_VERSION 1 |
19 | 21 | ||
20 | struct dlm_lock_data { | 22 | struct dlm_lock_data { |
21 | uint16_t version; | 23 | __u16 version; |
22 | uint32_t lockspace_id; | 24 | __u32 lockspace_id; |
23 | int nodeid; | 25 | int nodeid; |
24 | int ownpid; | 26 | int ownpid; |
25 | uint32_t id; | 27 | __u32 id; |
26 | uint32_t remid; | 28 | __u32 remid; |
27 | uint64_t xid; | 29 | __u64 xid; |
28 | int8_t status; | 30 | __s8 status; |
29 | int8_t grmode; | 31 | __s8 grmode; |
30 | int8_t rqmode; | 32 | __s8 rqmode; |
31 | unsigned long timestamp; | 33 | unsigned long timestamp; |
32 | int resource_namelen; | 34 | int resource_namelen; |
33 | char resource_name[DLM_RESNAME_MAXLEN]; | 35 | char resource_name[DLM_RESNAME_MAXLEN]; |