Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 345811
b: refs/heads/master
c: 5aabf46
h: refs/heads/master
i:
  345809: 2b1e729
  345807: cd2f17a
v: v3
  • Loading branch information
Philipp Reisner committed Oct 14, 2011
1 parent 08d6732 commit 1055017
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 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: cf29c9d8c8eff69885ee4c8ddf5f9db4dcc5ab6e
refs/heads/master: 5aabf467e3933ba3fc30fd06a70517ab8a27a9bb
4 changes: 0 additions & 4 deletions trunk/drivers/block/drbd/drbd_state.c
Original file line number Diff line number Diff line change
Expand Up @@ -1375,8 +1375,6 @@ _conn_request_state(struct drbd_tconn *tconn, union drbd_state mask, union drbd_
struct after_conn_state_chg_work *acscw;
enum drbd_conns oc = tconn->cstate;

read_lock(&global_state_lock);

rv = is_valid_conn_transition(oc, val.conn);
if (rv < SS_SUCCESS)
goto abort;
Expand Down Expand Up @@ -1418,8 +1416,6 @@ _conn_request_state(struct drbd_tconn *tconn, union drbd_state mask, union drbd_
}

abort:
read_unlock(&global_state_lock);

return rv;
}

Expand Down

0 comments on commit 1055017

Please sign in to comment.