Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 242880
b: refs/heads/master
c: 3f98688
h: refs/heads/master
v: v3
  • Loading branch information
Philipp Reisner committed Mar 10, 2011
1 parent eb8ccdc commit 20b3a29
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 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: 725a97e43ee945cc813fffd9e628e50d703b973b
refs/heads/master: 3f98688afc2ce0138fc88e272bdd128e1e0b0976
12 changes: 5 additions & 7 deletions trunk/drivers/block/drbd/drbd_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -1347,16 +1347,14 @@ static void after_state_ch(struct drbd_conf *mdev, union drbd_state os,

nsm.i = -1;
if (ns.susp_nod) {
if (os.conn < C_CONNECTED && ns.conn >= C_CONNECTED) {
if (ns.conn == C_CONNECTED)
what = resend, nsm.susp_nod = 0;
else /* ns.conn > C_CONNECTED */
dev_err(DEV, "Unexpected Resync going on!\n");
}
if (os.conn < C_CONNECTED && ns.conn >= C_CONNECTED)
what = resend;

if (os.disk == D_ATTACHING && ns.disk > D_ATTACHING)
what = restart_frozen_disk_io, nsm.susp_nod = 0;
what = restart_frozen_disk_io;

if (what != nothing)
nsm.susp_nod = 0;
}

if (ns.susp_fen) {
Expand Down

0 comments on commit 20b3a29

Please sign in to comment.