From: Kurt Hackel Date: Fri, 28 Apr 2006 01:53:04 +0000 (-0700) Subject: ocfs2: detach mle from heartbeat events X-Git-Tag: v2.6.18-rc1~594^2~38 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=da01ad05528bf6f6bcb286329b14225a71713325;p=linux-2.6-omap-h63xx.git ocfs2: detach mle from heartbeat events Signed-off-by: Kurt Hackel Signed-off-by: Mark Fasheh --- diff --git a/fs/ocfs2/dlm/dlmmaster.c b/fs/ocfs2/dlm/dlmmaster.c index 19399446aa8..d7a51691e7d 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);