Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 309321
b: refs/heads/master
c: aaae506
h: refs/heads/master
i:
  309319: 09b12ce
v: v3
  • Loading branch information
Philipp Reisner committed May 9, 2012
1 parent 9055e7f commit 4d9b997
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 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: 6a9a92f4ef05bb3e94bbfe123c21482fa5da9866
refs/heads/master: aaae506d545bb9d06f4d8362f670f406f12e4b58
6 changes: 3 additions & 3 deletions trunk/drivers/block/drbd/drbd_worker.c
Original file line number Diff line number Diff line change
Expand Up @@ -1537,14 +1537,14 @@ void drbd_start_resync(struct drbd_conf *mdev, enum drbd_conns side)
}

drbd_state_lock(mdev);

write_lock_irq(&global_state_lock);
if (!get_ldev_if_state(mdev, D_NEGOTIATING)) {
write_unlock_irq(&global_state_lock);
drbd_state_unlock(mdev);
return;
}

write_lock_irq(&global_state_lock);
ns = mdev->state;
ns.i = mdev->state.i;

ns.aftr_isp = !_drbd_may_sync_now(mdev);

Expand Down

0 comments on commit 4d9b997

Please sign in to comment.