aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ocfs2/dlm
diff options
context:
space:
mode:
authorJoseph Qi <joseph.qi@huawei.com>2015-06-24 19:55:04 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2015-06-24 20:49:39 -0400
commit345dc681bd9acc8d7fdb6f5d3e2419c010f00bf6 (patch)
tree599e2c086e72051de80a757711f87a60f7adc8e6 /fs/ocfs2/dlm
parent2e173152420a9595bbfccbd8cdba0cd3c160fefc (diff)
ocfs2/dlm: cleanup unused function __dlm_wait_on_lockres_flags_set
__dlm_wait_on_lockres_flags_set() is declared but not implemented and used. So remove it. Signed-off-by: Joseph Qi <joseph.qi@huawei.com> Cc: Mark Fasheh <mfasheh@suse.com> Cc: Joel Becker <jlbec@evilplan.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/ocfs2/dlm')
-rw-r--r--fs/ocfs2/dlm/dlmcommon.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/ocfs2/dlm/dlmcommon.h b/fs/ocfs2/dlm/dlmcommon.h
index fae17c640df3..e88ccf8c83ff 100644
--- a/fs/ocfs2/dlm/dlmcommon.h
+++ b/fs/ocfs2/dlm/dlmcommon.h
@@ -1014,7 +1014,6 @@ void dlm_move_lockres_to_recovery_list(struct dlm_ctxt *dlm,
1014 1014
1015/* will exit holding res->spinlock, but may drop in function */ 1015/* will exit holding res->spinlock, but may drop in function */
1016void __dlm_wait_on_lockres_flags(struct dlm_lock_resource *res, int flags); 1016void __dlm_wait_on_lockres_flags(struct dlm_lock_resource *res, int flags);
1017void __dlm_wait_on_lockres_flags_set(struct dlm_lock_resource *res, int flags);
1018 1017
1019/* will exit holding res->spinlock, but may drop in function */ 1018/* will exit holding res->spinlock, but may drop in function */
1020static inline void __dlm_wait_on_lockres(struct dlm_lock_resource *res) 1019static inline void __dlm_wait_on_lockres(struct dlm_lock_resource *res)