diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2009-03-26 19:11:41 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-03-26 19:11:41 -0400 |
commit | ba1eb95cf3cc666769afe42eaa15a3a34ae82f94 (patch) | |
tree | 011d8a65ad6e605741a66a833c3536394e8d0f3e /include/linux/dlm_netlink.h | |
parent | a8416961d32d8bb757bcbb86b72042b66d044510 (diff) | |
parent | 17d140402e6f0fd5dde2fdf8d045e3f95f865663 (diff) |
Merge branch 'header-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip
* 'header-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip: (50 commits)
x86: headers cleanup - setup.h
emu101k1.h: fix duplicate include of <linux/types.h>
compiler-gcc4: conditionalize #error on __KERNEL__
remove __KERNEL_STRICT_NAMES
make netfilter use strict integer types
make drm headers use strict integer types
make MTD headers use strict integer types
make most exported headers use strict integer types
make exported headers use strict posix types
unconditionally include asm/types.h from linux/types.h
make linux/types.h as assembly safe
Neither asm/types.h nor linux/types.h is required for arch/ia64/include/asm/fpu.h
headers_check fix cleanup: linux/reiserfs_fs.h
headers_check fix cleanup: linux/nubus.h
headers_check fix cleanup: linux/coda_psdev.h
headers_check fix: x86, setup.h
headers_check fix: x86, prctl.h
headers_check fix: linux/reinserfs_fs.h
headers_check fix: linux/socket.h
headers_check fix: linux/nubus.h
...
Manually fix trivial conflicts in:
include/linux/netfilter/xt_limit.h
include/linux/netfilter/xt_statistic.h
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]; |