[GFS2] Fix module building
authorSteven Whitehouse <swhiteho@redhat.com>
Fri, 27 Jun 2008 08:40:57 +0000 (09:40 +0100)
committerSteven Whitehouse <swhiteho@redhat.com>
Fri, 27 Jun 2008 08:40:57 +0000 (09:40 +0100)
Two lines missed from the previous patch.

Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
fs/gfs2/locking/dlm/lock_dlm.h
fs/gfs2/locking/dlm/mount.c

index 21cf46617d9043aabc6d6a7d38ff10f559bdebfa..3c98e7c6f93bb50b3a71b3cb6d11dd91aa9d1d56 100644 (file)
@@ -148,7 +148,6 @@ void gdlm_release_threads(struct gdlm_ls *);
 /* lock.c */
 
 void gdlm_submit_delayed(struct gdlm_ls *);
-int gdlm_release_all_locks(struct gdlm_ls *);
 unsigned int gdlm_do_lock(struct gdlm_lock *);
 
 int gdlm_get_lock(void *, struct lm_lockname *, void **);
index 947e70673eec594bb6a82c4f8bbdd822bd26a2d6..09d78c216f4828792a27a0651a1cd98d6abf5d74 100644 (file)
@@ -221,7 +221,6 @@ static void gdlm_withdraw(void *lockspace)
 
        dlm_release_lockspace(ls->dlm_lockspace, 2);
        gdlm_release_threads(ls);
-       gdlm_release_all_locks(ls);
        gdlm_kobject_release(ls);
 }