diff options
-rw-r--r-- | include/linux/dlm.h | 3 | ||||
-rw-r--r-- | include/linux/dlm_device.h | 8 |
2 files changed, 10 insertions, 1 deletions
diff --git a/include/linux/dlm.h b/include/linux/dlm.h index 188f6e6925a0..203a025e30e5 100644 --- a/include/linux/dlm.h +++ b/include/linux/dlm.h | |||
@@ -21,6 +21,7 @@ | |||
21 | 21 | ||
22 | /* Lock levels and flags are here */ | 22 | /* Lock levels and flags are here */ |
23 | #include <linux/dlmconstants.h> | 23 | #include <linux/dlmconstants.h> |
24 | #include <linux/types.h> | ||
24 | 25 | ||
25 | typedef void dlm_lockspace_t; | 26 | typedef void dlm_lockspace_t; |
26 | 27 | ||
@@ -59,7 +60,7 @@ typedef void dlm_lockspace_t; | |||
59 | 60 | ||
60 | struct dlm_lksb { | 61 | struct dlm_lksb { |
61 | int sb_status; | 62 | int sb_status; |
62 | uint32_t sb_lkid; | 63 | __u32 sb_lkid; |
63 | char sb_flags; | 64 | char sb_flags; |
64 | char * sb_lvbptr; | 65 | char * sb_lvbptr; |
65 | }; | 66 | }; |
diff --git a/include/linux/dlm_device.h b/include/linux/dlm_device.h index dcfd2499902f..c6034508fed9 100644 --- a/include/linux/dlm_device.h +++ b/include/linux/dlm_device.h | |||
@@ -11,10 +11,16 @@ | |||
11 | ******************************************************************************* | 11 | ******************************************************************************* |
12 | ******************************************************************************/ | 12 | ******************************************************************************/ |
13 | 13 | ||
14 | #ifndef _LINUX_DLM_DEVICE_H | ||
15 | #define _LINUX_DLM_DEVICE_H | ||
16 | |||
14 | /* This is the device interface for dlm, most users will use a library | 17 | /* This is the device interface for dlm, most users will use a library |
15 | * interface. | 18 | * interface. |
16 | */ | 19 | */ |
17 | 20 | ||
21 | #include <linux/dlm.h> | ||
22 | #include <linux/types.h> | ||
23 | |||
18 | #define DLM_USER_LVB_LEN 32 | 24 | #define DLM_USER_LVB_LEN 32 |
19 | 25 | ||
20 | /* Version of the device interface */ | 26 | /* Version of the device interface */ |
@@ -98,3 +104,5 @@ struct dlm_lock_result { | |||
98 | #define DLM_USER_LSFLG_AUTOFREE 1 | 104 | #define DLM_USER_LSFLG_AUTOFREE 1 |
99 | #define DLM_USER_LSFLG_FORCEFREE 2 | 105 | #define DLM_USER_LSFLG_FORCEFREE 2 |
100 | 106 | ||
107 | #endif | ||
108 | |||