]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mds: properly unregister asok commands
authorYan, Zheng <zyan@redhat.com>
Fri, 5 Dec 2014 02:40:52 +0000 (10:40 +0800)
committerYan, Zheng <zyan@redhat.com>
Fri, 5 Dec 2014 02:40:52 +0000 (10:40 +0800)
Signed-off-by: Yan, Zheng <zyan@redhat.com>
src/mds/MDS.cc

index 332408cf7d1ed6c896d4cd606f221a2fb37a5116..9008193a493a9d8159592f4ece998746c6439050 100644 (file)
@@ -496,6 +496,11 @@ void MDS::clean_up_admin_socket()
   admin_socket->unregister_command("dump_ops_in_flight");
   admin_socket->unregister_command("dump_historic_ops");
   admin_socket->unregister_command("scrub_path");
+  admin_socket->unregister_command("flush_path");
+  admin_socket->unregister_command("session evict");
+  admin_socket->unregister_command("session ls");
+  admin_socket->unregister_command("flush journal");
+  admin_socket->unregister_command("force_readonly");
   delete asok_hook;
   asok_hook = NULL;
 }