libceph: move ceph_con_send() closed check under the con mutex
(cherry picked from commit a59b55a6) 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> Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Showing
Please register or sign in to comment