summaryrefslogtreecommitdiffstats
path: root/fs/ocfs2/dlm/dlmmaster.c
diff options
context:
space:
mode:
authorKurt Hackel <kurt.hackel@oracle.com>2006-04-27 18:53:04 -0700
committerMark Fasheh <mark.fasheh@oracle.com>2006-06-26 14:42:52 -0700
commitda01ad05528bf6f6bcb286329b14225a71713325 (patch)
tree0a3cf2161c9880cd6e6ffadf105878f0441bc35c /fs/ocfs2/dlm/dlmmaster.c
parenta2bf04774bf4aa0a75036c1e92e3d2fd1cce2aff (diff)
downloadop-kernel-dev-da01ad05528bf6f6bcb286329b14225a71713325.zip
op-kernel-dev-da01ad05528bf6f6bcb286329b14225a71713325.tar.gz
ocfs2: detach mle from heartbeat events
Signed-off-by: Kurt Hackel <kurt.hackel@oracle.com> Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
Diffstat (limited to 'fs/ocfs2/dlm/dlmmaster.c')
-rw-r--r--fs/ocfs2/dlm/dlmmaster.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/ocfs2/dlm/dlmmaster.c b/fs/ocfs2/dlm/dlmmaster.c
index 1939944..d7a5169 100644
--- a/fs/ocfs2/dlm/dlmmaster.c
+++ b/fs/ocfs2/dlm/dlmmaster.c
@@ -2673,6 +2673,7 @@ static int dlm_add_migration_mle(struct dlm_ctxt *dlm,
/* remove it from the list so that only one
* mle will be found */
list_del_init(&tmp->list);
+ __dlm_mle_detach_hb_events(dlm, mle);
}
spin_unlock(&tmp->spinlock);
}
@@ -2767,6 +2768,7 @@ top:
/* remove from the list early. NOTE: unlinking
* list_head while in list_for_each_safe */
+ __dlm_mle_detach_hb_events(dlm, mle);
spin_lock(&mle->spinlock);
list_del_init(&mle->list);
atomic_set(&mle->woken, 1);
OpenPOWER on IntegriCloud