aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ocfs2/dlm/dlmcommon.h
diff options
context:
space:
mode:
Diffstat (limited to 'fs/ocfs2/dlm/dlmcommon.h')
-rw-r--r--fs/ocfs2/dlm/dlmcommon.h14
1 files changed, 4 insertions, 10 deletions
diff --git a/fs/ocfs2/dlm/dlmcommon.h b/fs/ocfs2/dlm/dlmcommon.h
index 266fde9354bd..0102be35980c 100644
--- a/fs/ocfs2/dlm/dlmcommon.h
+++ b/fs/ocfs2/dlm/dlmcommon.h
@@ -56,12 +56,6 @@ enum dlm_mle_type {
56 DLM_MLE_NUM_TYPES 56 DLM_MLE_NUM_TYPES
57}; 57};
58 58
59struct dlm_lock_name {
60 unsigned int hash;
61 unsigned int len;
62 unsigned char name[DLM_LOCKID_NAME_MAX];
63};
64
65struct dlm_master_list_entry { 59struct dlm_master_list_entry {
66 struct hlist_node master_hash_node; 60 struct hlist_node master_hash_node;
67 struct list_head hb_events; 61 struct list_head hb_events;
@@ -80,10 +74,10 @@ struct dlm_master_list_entry {
80 enum dlm_mle_type type; 74 enum dlm_mle_type type;
81 struct o2hb_callback_func mle_hb_up; 75 struct o2hb_callback_func mle_hb_up;
82 struct o2hb_callback_func mle_hb_down; 76 struct o2hb_callback_func mle_hb_down;
83 union { 77 struct dlm_lock_resource *mleres;
84 struct dlm_lock_resource *mleres; 78 unsigned char mname[DLM_LOCKID_NAME_MAX];
85 struct dlm_lock_name mlename; 79 unsigned int mnamelen;
86 } u; 80 unsigned int mnamehash;
87}; 81};
88 82
89enum dlm_ast_type { 83enum dlm_ast_type {