No callers expect the lock to be dropped.
Fixes: #3816
Signed-off-by: Sage Weil <sage@inktank.com>
hbserver_messenger->shutdown();
monc->shutdown();
-
- osd_lock.Unlock();
return r;
}
session = (Session *)m->get_connection()->get_priv();
if (!session ||
session->entity_name.is_mon() ||
- session->entity_name.is_osd()) shutdown();
+ session->entity_name.is_osd())
+ shutdown();
else dout(0) << "shutdown message from connection with insufficient privs!"
<< m->get_connection() << dendl;
m->put();