Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 20414
b: refs/heads/master
c: f671c09
h: refs/heads/master
v: v3
  • Loading branch information
Kurt Hackel authored and Mark Fasheh committed Feb 16, 2006
1 parent 4132999 commit ddbf644
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 745ae8ba29e729ec922393fa4d9448c385673599
refs/heads/master: f671c09bce88ea253d576c842f8f39d9a2a29028
7 changes: 6 additions & 1 deletion trunk/fs/ocfs2/dlm/dlmmaster.c
Original file line number Diff line number Diff line change
Expand Up @@ -2482,7 +2482,9 @@ void dlm_clean_master_list(struct dlm_ctxt *dlm, u8 dead_node)
atomic_set(&mle->woken, 1);
spin_unlock(&mle->spinlock);
wake_up(&mle->wq);
/* final put will take care of list removal */
/* do not need events any longer, so detach
* from heartbeat */
__dlm_mle_detach_hb_events(dlm, mle);
__dlm_put_mle(mle);
}
continue;
Expand Down Expand Up @@ -2537,6 +2539,9 @@ void dlm_clean_master_list(struct dlm_ctxt *dlm, u8 dead_node)
spin_unlock(&res->spinlock);
dlm_lockres_put(res);

/* about to get rid of mle, detach from heartbeat */
__dlm_mle_detach_hb_events(dlm, mle);

/* dump the mle */
spin_lock(&dlm->master_lock);
__dlm_put_mle(mle);
Expand Down

0 comments on commit ddbf644

Please sign in to comment.