From: David Zafman Date: Fri, 18 Jan 2013 17:31:00 +0000 (-0800) Subject: osd: Add missing unregister_command() in OSD::shutdown() X-Git-Tag: v0.57~147^2~2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=cfb1aa809db65e3fbbdfd5c43ea245d94e80b4ea;p=ceph.git osd: Add missing unregister_command() in OSD::shutdown() Signed-off-by: David Zafman Reviewed-by: Samuel Just --- diff --git a/src/osd/OSD.cc b/src/osd/OSD.cc index 4549eb766710..0d289f6c8751 100644 --- a/src/osd/OSD.cc +++ b/src/osd/OSD.cc @@ -1120,6 +1120,7 @@ int OSD::shutdown() dout(10) << "no ops" << dendl; cct->get_admin_socket()->unregister_command("dump_ops_in_flight"); + cct->get_admin_socket()->unregister_command("dump_historic_ops"); delete admin_ops_hook; delete historic_ops_hook; admin_ops_hook = NULL;