Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 213102
b: refs/heads/master
c: 894c6a9
h: refs/heads/master
v: v3
  • Loading branch information
Philipp Reisner committed Oct 14, 2010
1 parent 951de26 commit 1621259
Show file tree
Hide file tree
Showing 2 changed files with 4 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: 47ff2d0a8e7ce87fed180729e8341f650bf585c8
refs/heads/master: 894c6a946199cf91e52bc1864c3dc6529cceb3db
4 changes: 3 additions & 1 deletion trunk/drivers/block/drbd/drbd_nl.c
Original file line number Diff line number Diff line change
Expand Up @@ -1033,7 +1033,9 @@ static int drbd_nl_disk_conf(struct drbd_conf *mdev, struct drbd_nl_cfg_req *nlp
else
clear_bit(CRASHED_PRIMARY, &mdev->flags);

if (drbd_md_test_flag(mdev->ldev, MDF_PRIMARY_IND)) {
if (drbd_md_test_flag(mdev->ldev, MDF_PRIMARY_IND) &&
!(mdev->state.role == R_PRIMARY && mdev->state.susp &&
mdev->sync_conf.on_no_data == OND_SUSPEND_IO)) {
set_bit(CRASHED_PRIMARY, &mdev->flags);
cp_discovered = 1;
}
Expand Down

0 comments on commit 1621259

Please sign in to comment.