aboutsummaryrefslogtreecommitdiffstats
path: root/fs/gfs2/locking/dlm/lock.c
diff options
context:
space:
mode:
authorSteven Whitehouse <swhiteho@redhat.com>2006-09-07 17:35:48 -0400
committerSteven Whitehouse <swhiteho@redhat.com>2006-09-07 17:35:48 -0400
commit5ce311ebdb90429519f7c6d2092e4ae6ca8cba74 (patch)
tree7492b442e0d18a7aa745e696e6595856f8becfe5 /fs/gfs2/locking/dlm/lock.c
parent1c089c325d5cda0f64a3cf8edf3aaafa148f200a (diff)
downloadlinux-5ce311ebdb90429519f7c6d2092e4ae6ca8cba74.tar.gz
[GFS2] Remove unused sync_lvb code from lock modules
This code is no longer used for anything and can be removed from the locking modules. The sync_lvb function is not required as this happens automatically with the current locking system. Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/gfs2/locking/dlm/lock.c')
-rw-r--r--fs/gfs2/locking/dlm/lock.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/fs/gfs2/locking/dlm/lock.c b/fs/gfs2/locking/dlm/lock.c
index dceea419b94b57..e4359b1b7174ba 100644
--- a/fs/gfs2/locking/dlm/lock.c
+++ b/fs/gfs2/locking/dlm/lock.c
@@ -490,23 +490,6 @@ void gdlm_unhold_lvb(lm_lock_t *lock, char *lvb)
gdlm_del_lvb(lp);
}
-void gdlm_sync_lvb(lm_lock_t *lock, char *lvb)
-{
- struct gdlm_lock *lp = (struct gdlm_lock *) lock;
-
- if (lp->cur != DLM_LOCK_EX)
- return;
-
- init_completion(&lp->ast_wait);
- set_bit(LFL_SYNC_LVB, &lp->flags);
-
- lp->req = DLM_LOCK_EX;
- lp->lkf = make_flags(lp, 0, lp->cur, lp->req);
-
- gdlm_do_lock(lp);
- wait_for_completion(&lp->ast_wait);
-}
-
void gdlm_submit_delayed(struct gdlm_ls *ls)
{
struct gdlm_lock *lp, *safe;