aboutsummaryrefslogtreecommitdiffstats
path: root/fs/gfs2/locking/dlm/lock_dlm.h
diff options
context:
space:
mode:
Diffstat (limited to 'fs/gfs2/locking/dlm/lock_dlm.h')
-rw-r--r--fs/gfs2/locking/dlm/lock_dlm.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/fs/gfs2/locking/dlm/lock_dlm.h b/fs/gfs2/locking/dlm/lock_dlm.h
index 941063498532..c7b6e370258f 100644
--- a/fs/gfs2/locking/dlm/lock_dlm.h
+++ b/fs/gfs2/locking/dlm/lock_dlm.h
@@ -56,7 +56,7 @@ enum {
56}; 56};
57 57
58struct gdlm_ls { 58struct gdlm_ls {
59 uint32_t id; 59 u32 id;
60 int jid; 60 int jid;
61 int first; 61 int first;
62 int first_done; 62 int first_done;
@@ -77,7 +77,7 @@ struct gdlm_ls {
77 struct list_head delayed; 77 struct list_head delayed;
78 struct list_head submit; 78 struct list_head submit;
79 struct list_head all_locks; 79 struct list_head all_locks;
80 uint32_t all_locks_count; 80 u32 all_locks_count;
81 wait_queue_head_t wait_control; 81 wait_queue_head_t wait_control;
82 struct task_struct *thread1; 82 struct task_struct *thread1;
83 struct task_struct *thread2; 83 struct task_struct *thread2;
@@ -109,10 +109,10 @@ struct gdlm_lock {
109 char *lvb; 109 char *lvb;
110 struct dlm_lksb lksb; 110 struct dlm_lksb lksb;
111 111
112 int16_t cur; 112 s16 cur;
113 int16_t req; 113 s16 req;
114 int16_t prev_req; 114 s16 prev_req;
115 uint32_t lkf; /* dlm flags DLM_LKF_ */ 115 u32 lkf; /* dlm flags DLM_LKF_ */
116 unsigned long flags; /* lock_dlm flags LFL_ */ 116 unsigned long flags; /* lock_dlm flags LFL_ */
117 117
118 int bast_mode; /* protected by async_lock */ 118 int bast_mode; /* protected by async_lock */
@@ -158,7 +158,7 @@ void gdlm_release_threads(struct gdlm_ls *);
158 158
159/* lock.c */ 159/* lock.c */
160 160
161int16_t gdlm_make_lmstate(int16_t); 161s16 gdlm_make_lmstate(s16);
162void gdlm_queue_delayed(struct gdlm_lock *); 162void gdlm_queue_delayed(struct gdlm_lock *);
163void gdlm_submit_delayed(struct gdlm_ls *); 163void gdlm_submit_delayed(struct gdlm_ls *);
164int gdlm_release_all_locks(struct gdlm_ls *); 164int gdlm_release_all_locks(struct gdlm_ls *);