Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 172940
b: refs/heads/master
c: 0a49216
h: refs/heads/master
v: v3
  • Loading branch information
Philipp Reisner committed Nov 4, 2009
1 parent eb1f39b commit d2fa899
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 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: 1352994b363195ce932749d3518d4dc9a5479fea
refs/heads/master: 0a4921662513ae60dc638c8e13fbe3439d84db64
7 changes: 3 additions & 4 deletions trunk/drivers/block/drbd/drbd_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -867,10 +867,9 @@ static union drbd_state sanitize_state(struct drbd_conf *mdev, union drbd_state
}

if (fp == FP_STONITH &&
(ns.role == R_PRIMARY &&
ns.conn < C_CONNECTED &&
ns.pdsk > D_OUTDATED))
ns.susp = 1;
(ns.role == R_PRIMARY && ns.conn < C_CONNECTED && ns.pdsk > D_OUTDATED) &&
!(os.role == R_PRIMARY && os.conn < C_CONNECTED && os.pdsk > D_OUTDATED))
ns.susp = 1;

if (ns.aftr_isp || ns.peer_isp || ns.user_isp) {
if (ns.conn == C_SYNC_SOURCE)
Expand Down

0 comments on commit d2fa899

Please sign in to comment.