]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
osd:the fuction osd::shutdown Lock failed. 5870/head
authorLu Shi <shi.lu@h3c.com>
Fri, 11 Sep 2015 02:35:03 +0000 (10:35 +0800)
committerLu Shi <shi.lu@h3c.com>
Fri, 11 Sep 2015 02:35:13 +0000 (10:35 +0800)
Fixed:#13004

Signed-off-by: Lu Shi <shi.lu@h3c.com>
src/osd/OSD.cc

index a577fd802c82a1f6749a46c02d6c5b45e165c6a1..273f2d3534f334acc884443ed7fe0fbae7970b63 100644 (file)
@@ -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();
 }