Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 309464
b: refs/heads/master
c: e10c758
h: refs/heads/master
v: v3
  • Loading branch information
Alex Elder authored and Alex Elder committed May 17, 2012
1 parent 8617471 commit 8795241
Show file tree
Hide file tree
Showing 2 changed files with 6 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: e825a66df97776d30a48a187e3a986736af43945
refs/heads/master: e10c758e4031a801ea4d2f8fb39bf14c2658d74b
6 changes: 5 additions & 1 deletion trunk/net/ceph/messenger.c
Original file line number Diff line number Diff line change
Expand Up @@ -697,6 +697,7 @@ static int prepare_write_connect(struct ceph_connection *con)
{
unsigned global_seq = get_global_seq(con->msgr, 0);
int proto;
int ret;

switch (con->peer_name.type) {
case CEPH_ENTITY_TYPE_MON:
Expand All @@ -723,11 +724,14 @@ static int prepare_write_connect(struct ceph_connection *con)
con->out_connect.flags = 0;

ceph_con_out_kvec_add(con, sizeof (con->out_connect), &con->out_connect);
ret = prepare_connect_authorizer(con);
if (ret)
return ret;

con->out_more = 0;
set_bit(WRITE_PENDING, &con->state);

return prepare_connect_authorizer(con);
return 0;
}

/*
Expand Down

0 comments on commit 8795241

Please sign in to comment.