Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 345865
b: refs/heads/master
c: 3c5e5f6
h: refs/heads/master
i:
  345863: 7262f15
v: v3
  • Loading branch information
Lars Ellenberg authored and Philipp Reisner committed Nov 3, 2012
1 parent 70fc08b commit c84fcd2
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: 527f4b24e51194a79f89ce5ce523236be31c511d
refs/heads/master: 3c5e5f6afd242ea5944197a9b54033c1461b793c
4 changes: 3 additions & 1 deletion trunk/drivers/block/drbd/drbd_state.c
Original file line number Diff line number Diff line change
Expand Up @@ -180,8 +180,10 @@ drbd_req_state(struct drbd_conf *mdev, union drbd_state mask,
os = mdev->state;
ns = sanitize_state(mdev, apply_mask_val(os, mask, val), NULL);
rv = is_valid_transition(os, ns);
if (rv < SS_SUCCESS)
if (rv < SS_SUCCESS) {
spin_unlock_irqrestore(&mdev->tconn->req_lock, flags);
goto abort;
}

if (cl_wide_st_chg(mdev, os, ns)) {
rv = is_valid_state(mdev, ns);
Expand Down

0 comments on commit c84fcd2

Please sign in to comment.