commit | a59b55a602b6c741052d79c1e3643f8440cddd27 | [log] [tgz] |
---|---|---|
author | Sage Weil <sage@inktank.com> | Fri Jul 20 15:34:04 2012 -0700 |
committer | Sage Weil <sage@inktank.com> | Mon Jul 30 18:15:57 2012 -0700 |
tree | 4ffe59cd04d00fe0835256065b5b08a7c5505d1b | |
parent | 00650931e52e97fe64096bec167f5a6780dfd94a [diff] |
libceph: move ceph_con_send() closed check under the con mutex Take the con mutex before checking whether the connection is closed to avoid racing with someone else closing it. Signed-off-by: Sage Weil <sage@inktank.com>