From f4498f527a1a7ddd53e38327a24c12095b1a0337 Mon Sep 17 00:00:00 2001 From: Lu Shi Date: Fri, 11 Sep 2015 10:35:03 +0800 Subject: [PATCH] osd:the fuction osd::shutdown Lock failed. Fixed:#13004 Signed-off-by: Lu Shi --- src/osd/OSD.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/osd/OSD.cc b/src/osd/OSD.cc index a577fd802c8..273f2d3534f 100644 --- a/src/osd/OSD.cc +++ b/src/osd/OSD.cc @@ -6469,8 +6469,10 @@ void OSD::handle_osd_map(MOSDMap *m) else if (do_restart) start_boot(); + osd_lock.Unlock(); if (do_shutdown) shutdown(); + osd_lock.Lock(); m->put(); }