diff options
author | Sage Weil <sage@inktank.com> | 2012-07-30 23:24:37 (GMT) |
---|---|---|
committer | Sage Weil <sage@inktank.com> | 2012-07-31 01:15:30 (GMT) |
commit | 8c50c817566dfa4581f82373aac39f3e608a7dc8 (patch) | |
tree | 875162b047de3e18de801e1e6152f6d8f4810652 /net/ceph/osd_client.c | |
parent | 3a140a0d5c4b9e35373b016e41dfc85f1e526bdb (diff) | |
download | linux-fsl-qoriq-8c50c817566dfa4581f82373aac39f3e608a7dc8.tar.xz |
libceph: fix mutex coverage for ceph_con_close
Hold the mutex while twiddling all of the state bits to avoid possible
races. While we're here, make not of why we cannot close the socket
directly.
Signed-off-by: Sage Weil <sage@inktank.com>
Reviewed-by: Alex Elder <elder@inktank.com>
Reviewed-by: Yehuda Sadeh <yehuda@inktank.com>
Diffstat (limited to 'net/ceph/osd_client.c')
0 files changed, 0 insertions, 0 deletions