Linux ocfs2 filesystem development
 help / color / mirror / Atom feed
* [Ocfs2-devel] [PATCH] ocfs2/dlm: cleanup unused function __dlm_wait_on_lockres_flags_set
@ 2015-04-25  3:14 Joseph Qi
  0 siblings, 0 replies; only message in thread
From: Joseph Qi @ 2015-04-25  3:14 UTC (permalink / raw)
  To: ocfs2-devel

Function __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>
---
 fs/ocfs2/dlm/dlmcommon.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/fs/ocfs2/dlm/dlmcommon.h b/fs/ocfs2/dlm/dlmcommon.h
index fae17c6..e88ccf8 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,

 /* will exit holding res->spinlock, but may drop in function */
 void __dlm_wait_on_lockres_flags(struct dlm_lock_resource *res, int flags);
-void __dlm_wait_on_lockres_flags_set(struct dlm_lock_resource *res, int flags);

 /* will exit holding res->spinlock, but may drop in function */
 static inline void __dlm_wait_on_lockres(struct dlm_lock_resource *res)
-- 
1.8.4.3

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2015-04-25  3:14 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-25  3:14 [Ocfs2-devel] [PATCH] ocfs2/dlm: cleanup unused function __dlm_wait_on_lockres_flags_set Joseph Qi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox