| commit | 3b5a9ead0b4845aaa7e80fcd6166f2c6740a1c6f | [log] [tgz] |
|---|---|---|
| author | Sage Weil <sage@inktank.com> | Fri Jul 20 16:45:49 2012 -0700 |
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Mon Nov 26 11:38:40 2012 -0800 |
| tree | df27875914d29620a7e921726b8d699267cfadf7 | |
| parent | 1c5b33b852ab372d4538821db998561d5e4d7212 [diff] |
libceph: close socket directly from ceph_con_close() (cherry picked from commit ee76e0736db8455e3b11827d6899bd2a4e1d0584) It is simpler to do this immediately, since we already hold the con mutex. It also avoids the need to deal with a not-quite-CLOSED socket in con_work. Signed-off-by: Sage Weil <sage@inktank.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>