aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ocfs2/dlm/dlmrecovery.c
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2006-05-16 11:26:41 -0400
committerMark Fasheh <mark.fasheh@oracle.com>2006-06-26 17:43:21 -0400
commit3fb5a9891dbb553dda96783dbc0dc4e77cbb2529 (patch)
tree2635f3567c9e22c51e159926a7bc96ed7cf04fb5 /fs/ocfs2/dlm/dlmrecovery.c
parent43dee336c903fae15783b90983dfdedd2c7ffefc (diff)
[PATCH] fs/ocfs2/dlm/: cleanups
This patch #if 0's the no longer used dlm_dump_lock_resources(). Since this makes dlmdebug.h empty, this patch also removes this header. Additionally, the needlessly global dlm_is_node_recovered() is made static. Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
Diffstat (limited to 'fs/ocfs2/dlm/dlmrecovery.c')
-rw-r--r--fs/ocfs2/dlm/dlmrecovery.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ocfs2/dlm/dlmrecovery.c b/fs/ocfs2/dlm/dlmrecovery.c
index 22e6a5b69584..da399013516f 100644
--- a/fs/ocfs2/dlm/dlmrecovery.c
+++ b/fs/ocfs2/dlm/dlmrecovery.c
@@ -354,7 +354,7 @@ int dlm_is_node_dead(struct dlm_ctxt *dlm, u8 node)
354 354
355/* returns true if node is no longer in the domain 355/* returns true if node is no longer in the domain
356 * could be dead or just not joined */ 356 * could be dead or just not joined */
357int dlm_is_node_recovered(struct dlm_ctxt *dlm, u8 node) 357static int dlm_is_node_recovered(struct dlm_ctxt *dlm, u8 node)
358{ 358{
359 int recovered; 359 int recovered;
360 spin_lock(&dlm->spinlock); 360 spin_lock(&dlm->spinlock);