diff options
| author | Alex Elder <elder@inktank.com> | 2012-12-07 19:50:07 -0600 |
|---|---|---|
| committer | Alex Elder <elder@inktank.com> | 2012-12-17 12:07:32 -0600 |
| commit | 7bb21d68c535ad8be38e14a715632ae398b37ac1 (patch) | |
| tree | 81a2f47b32640921f0f7ce90b93ef450b4ca599a /lib/bitmap.c | |
| parent | b8f5c6edca34ff441e1ccdec68828e933a1b905b (diff) | |
libceph: socket can close in any connection state
A connection's socket can close for any reason, independent of the
state of the connection (and without irrespective of the connection
mutex). As a result, the connectino can be in pretty much any state
at the time its socket is closed.
Handle those other cases at the top of con_work(). Pull this whole
block of code into a separate function to reduce the clutter.
Signed-off-by: Alex Elder <elder@inktank.com>
Reviewed-by: Sage Weil <sage@inktank.com>
Diffstat (limited to 'lib/bitmap.c')
0 files changed, 0 insertions, 0 deletions
