libceph: move ceph_con_send() closed check under the con mutex
authorSage Weil <sage@inktank.com>
Fri, 20 Jul 2012 22:34:04 +0000 (15:34 -0700)
committerSage Weil <sage@inktank.com>
Tue, 31 Jul 2012 01:15:57 +0000 (18:15 -0700)
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>

No differences found