From cfb1aa809db65e3fbbdfd5c43ea245d94e80b4ea Mon Sep 17 00:00:00 2001 From: David Zafman Date: Fri, 18 Jan 2013 09:31:00 -0800 Subject: [PATCH] osd: Add missing unregister_command() in OSD::shutdown() Signed-off-by: David Zafman Reviewed-by: Samuel Just --- src/osd/OSD.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/osd/OSD.cc b/src/osd/OSD.cc index 4549eb76671..0d289f6c875 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;