···2482 atomic_set(&mle->woken, 1);2483 spin_unlock(&mle->spinlock);2484 wake_up(&mle->wq);2485- /* final put will take care of list removal */002486 __dlm_put_mle(mle);2487 }2488 continue;···2538 dlm_move_lockres_to_recovery_list(dlm, res);2539 spin_unlock(&res->spinlock);2540 dlm_lockres_put(res);00025412542 /* dump the mle */2543 spin_lock(&dlm->master_lock);
···2482 atomic_set(&mle->woken, 1);2483 spin_unlock(&mle->spinlock);2484 wake_up(&mle->wq);2485+ /* do not need events any longer, so detach 2486+ * from heartbeat */2487+ __dlm_mle_detach_hb_events(dlm, mle);2488 __dlm_put_mle(mle);2489 }2490 continue;···2536 dlm_move_lockres_to_recovery_list(dlm, res);2537 spin_unlock(&res->spinlock);2538 dlm_lockres_put(res);2539+2540+ /* about to get rid of mle, detach from heartbeat */2541+ __dlm_mle_detach_hb_events(dlm, mle);25422543 /* dump the mle */2544 spin_lock(&dlm->master_lock);