]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
Revert "mds: allow mds to 'exit immediately'"
authorJosh Durgin <josh.durgin@dreamhost.com>
Thu, 9 Jun 2011 23:57:41 +0000 (16:57 -0700)
committerJosh Durgin <josh.durgin@dreamhost.com>
Fri, 10 Jun 2011 00:42:29 +0000 (17:42 -0700)
This reverts commit c01961ff4b712a12e25e437adceae264273d7428.

src/mds/MDS.cc

index 687f2acc5e36ed856de769ab5ee6291875641ba0..cbc9d0a902426625afcf60a4373ed48f1ec7a4b5 100644 (file)
@@ -725,11 +725,7 @@ void MDS::handle_command(MMonCommand *m)
       mdcache->dump_cache();
   }
   else if (m->cmd[0] == "exit") {
-    if (m->cmd.size() > 1 && m->cmd[1] == "immediately") {
-      exit(0);
-    } else {
-      suicide();
-    }
+    suicide();
   }
   else if (m->cmd[0] == "session" && m->cmd[1] == "kill") {
     Session *session = sessionmap.get_session(entity_name_t(CEPH_ENTITY_TYPE_CLIENT,