diff options
Diffstat (limited to 'fs/gfs2/locking/dlm/lock.c')
-rw-r--r-- | fs/gfs2/locking/dlm/lock.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/fs/gfs2/locking/dlm/lock.c b/fs/gfs2/locking/dlm/lock.c index a309b799dff1..3b0dfd7ae26e 100644 --- a/fs/gfs2/locking/dlm/lock.c +++ b/fs/gfs2/locking/dlm/lock.c | |||
@@ -158,8 +158,8 @@ static inline void make_strname(struct lm_lockname *lockname, | |||
158 | str->namelen = GDLM_STRNAME_BYTES; | 158 | str->namelen = GDLM_STRNAME_BYTES; |
159 | } | 159 | } |
160 | 160 | ||
161 | int gdlm_create_lp(struct gdlm_ls *ls, struct lm_lockname *name, | 161 | static int gdlm_create_lp(struct gdlm_ls *ls, struct lm_lockname *name, |
162 | struct gdlm_lock **lpp) | 162 | struct gdlm_lock **lpp) |
163 | { | 163 | { |
164 | struct gdlm_lock *lp; | 164 | struct gdlm_lock *lp; |
165 | 165 | ||
@@ -276,7 +276,7 @@ unsigned int gdlm_do_lock(struct gdlm_lock *lp) | |||
276 | return LM_OUT_ASYNC; | 276 | return LM_OUT_ASYNC; |
277 | } | 277 | } |
278 | 278 | ||
279 | unsigned int gdlm_do_unlock(struct gdlm_lock *lp) | 279 | static unsigned int gdlm_do_unlock(struct gdlm_lock *lp) |
280 | { | 280 | { |
281 | struct gdlm_ls *ls = lp->ls; | 281 | struct gdlm_ls *ls = lp->ls; |
282 | unsigned int lkf = 0; | 282 | unsigned int lkf = 0; |
@@ -378,7 +378,7 @@ void gdlm_cancel(lm_lock_t *lock) | |||
378 | clear_bit(LFL_DLM_CANCEL, &lp->flags); | 378 | clear_bit(LFL_DLM_CANCEL, &lp->flags); |
379 | } | 379 | } |
380 | 380 | ||
381 | int gdlm_add_lvb(struct gdlm_lock *lp) | 381 | static int gdlm_add_lvb(struct gdlm_lock *lp) |
382 | { | 382 | { |
383 | char *lvb; | 383 | char *lvb; |
384 | 384 | ||
@@ -391,7 +391,7 @@ int gdlm_add_lvb(struct gdlm_lock *lp) | |||
391 | return 0; | 391 | return 0; |
392 | } | 392 | } |
393 | 393 | ||
394 | void gdlm_del_lvb(struct gdlm_lock *lp) | 394 | static void gdlm_del_lvb(struct gdlm_lock *lp) |
395 | { | 395 | { |
396 | kfree(lp->lvb); | 396 | kfree(lp->lvb); |
397 | lp->lvb = NULL; | 397 | lp->lvb = NULL; |