Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 346255
b: refs/heads/master
c: 07fc961
h: refs/heads/master
i:
  346253: 4b2cc53
  346251: 9baf822
  346247: 4a63528
  346239: b075f10
v: v3
  • Loading branch information
Philipp Reisner committed Nov 9, 2012
1 parent 46f3f5c commit 113e3df
Show file tree
Hide file tree
Showing 2 changed files with 6 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: 892fdd1aee35803bfa41ccf4df850ddb70f0811c
refs/heads/master: 07fc96197aec46f7ad4f08a4b2a1ea426112e24d
8 changes: 5 additions & 3 deletions trunk/drivers/block/drbd/drbd_state.c
Original file line number Diff line number Diff line change
Expand Up @@ -1742,9 +1742,11 @@ _conn_request_state(struct drbd_tconn *tconn, union drbd_state mask, union drbd_
union drbd_state ns_max, ns_min, os;
bool have_mutex = false;

rv = is_valid_conn_transition(oc, val.conn);
if (rv < SS_SUCCESS)
goto abort;
if (mask.conn) {
rv = is_valid_conn_transition(oc, val.conn);
if (rv < SS_SUCCESS)
goto abort;
}

rv = conn_is_valid_transition(tconn, mask, val, flags);
if (rv < SS_SUCCESS)
Expand Down

0 comments on commit 113e3df

Please sign in to comment.