Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 320291
b: refs/heads/master
c: a8d00e3
h: refs/heads/master
i:
  320289: 6317679
  320287: a39c023
v: v3
  • Loading branch information
Alex Elder authored and Sage Weil committed Jul 6, 2012
1 parent 2bcf499 commit 184808f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: abdaa6a849af1d63153682c11f5bbb22dacb1f6b
refs/heads/master: a8d00e3cdef4c1c4f194414b72b24cd995439a05
4 changes: 2 additions & 2 deletions trunk/net/ceph/messenger.c
Original file line number Diff line number Diff line change
Expand Up @@ -397,11 +397,11 @@ static int con_close_socket(struct ceph_connection *con)
dout("con_close_socket on %p sock %p\n", con, con->sock);
if (!con->sock)
return 0;
set_bit(SOCK_CLOSED, &con->state);
set_bit(SOCK_CLOSED, &con->flags);
rc = con->sock->ops->shutdown(con->sock, SHUT_RDWR);
sock_release(con->sock);
con->sock = NULL;
clear_bit(SOCK_CLOSED, &con->state);
clear_bit(SOCK_CLOSED, &con->flags);
con_sock_state_closed(con);
return rc;
}
Expand Down

0 comments on commit 184808f

Please sign in to comment.