Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 320254
b: refs/heads/master
c: 6384bb8
h: refs/heads/master
v: v3
  • Loading branch information
Alex Elder authored and Alex Elder committed Jun 1, 2012
1 parent d451d2f commit ce78959
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 9 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: e5e372da9a469dfe3ece40277090a7056c566838
refs/heads/master: 6384bb8b8e88a9c6bf2ae0d9517c2c0199177c34
3 changes: 0 additions & 3 deletions trunk/include/linux/ceph/messenger.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,6 @@ struct ceph_connection_operations {
int (*verify_authorizer_reply) (struct ceph_connection *con, int len);
int (*invalidate_authorizer)(struct ceph_connection *con);

/* protocol version mismatch */
void (*bad_proto) (struct ceph_connection *con);

/* there was some error on the socket (disconnect, whatever) */
void (*fault) (struct ceph_connection *con);

Expand Down
5 changes: 0 additions & 5 deletions trunk/net/ceph/messenger.c
Original file line number Diff line number Diff line change
Expand Up @@ -1356,11 +1356,6 @@ static void fail_protocol(struct ceph_connection *con)
{
reset_connection(con);
set_bit(CLOSED, &con->state); /* in case there's queued work */

mutex_unlock(&con->mutex);
if (con->ops->bad_proto)
con->ops->bad_proto(con);
mutex_lock(&con->mutex);
}

static int process_connect(struct ceph_connection *con)
Expand Down

0 comments on commit ce78959

Please sign in to comment.