Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 151227
b: refs/heads/master
c: 9af0b38
h: refs/heads/master
i:
  151225: ec016ee
  151223: e2fbbe2
v: v3
  • Loading branch information
Sunil Mushran authored and Joel Becker committed Jun 15, 2009
1 parent 76d068c commit 0ee4df8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 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: 6b791bcc8b2ae21daf95d18cff2f1eca7a64c9a5
refs/heads/master: 9af0b38ff3f4f79c62dd909405b113bf7c1a23aa
7 changes: 2 additions & 5 deletions trunk/fs/ocfs2/cluster/tcp.c
Original file line number Diff line number Diff line change
Expand Up @@ -974,7 +974,7 @@ static int o2net_tx_can_proceed(struct o2net_node *nn,
int o2net_send_message_vec(u32 msg_type, u32 key, struct kvec *caller_vec,
size_t caller_veclen, u8 target_node, int *status)
{
int ret, error = 0;
int ret;
struct o2net_msg *msg = NULL;
size_t veclen, caller_bytes = 0;
struct kvec *vec = NULL;
Expand Down Expand Up @@ -1015,10 +1015,7 @@ int o2net_send_message_vec(u32 msg_type, u32 key, struct kvec *caller_vec,

o2net_set_nst_sock_time(&nst);

ret = wait_event_interruptible(nn->nn_sc_wq,
o2net_tx_can_proceed(nn, &sc, &error));
if (!ret && error)
ret = error;
wait_event(nn->nn_sc_wq, o2net_tx_can_proceed(nn, &sc, &ret));
if (ret)
goto out;

Expand Down

0 comments on commit 0ee4df8

Please sign in to comment.