libceph: move msgr clear_standby under con mutex protection
authorSage Weil <sage@inktank.com>
Fri, 20 Jul 2012 22:33:04 +0000 (15:33 -0700)
committerSage Weil <sage@inktank.com>
Tue, 31 Jul 2012 01:15:56 +0000 (18:15 -0700)
commit00650931e52e97fe64096bec167f5a6780dfd94a
treeec6f3675e8229ac8dc3628a7c3ae7f2d2bbafceb
parent3b5ede07b55b52c3be27749d183d87257d032065
libceph: move msgr clear_standby under con mutex protection

Avoid dropping and retaking con->mutex in the ceph_con_send() case by
leaving locking up to the caller.

Signed-off-by: Sage Weil <sage@inktank.com>
net/ceph/messenger.c