summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Zafman <david.zafman@inktank.com>2013-01-18 09:31:00 -0800
committerDavid Zafman <david.zafman@inktank.com>2013-01-22 15:57:00 -0800
commitcfb1aa809db65e3fbbdfd5c43ea245d94e80b4ea (patch)
tree0aa44675e07f923baf30272c7bf4341518b2cb4f
parentc3266ad109616bc9b02841693f94f047b62453c6 (diff)
downloadceph-cfb1aa809db65e3fbbdfd5c43ea245d94e80b4ea.tar.gz
osd: Add missing unregister_command() in OSD::shutdown()
Signed-off-by: David Zafman <david.zafman@inktank.com> Reviewed-by: Samuel Just <sam.just@inktank.com>
-rw-r--r--src/osd/OSD.cc1
1 files changed, 1 insertions, 0 deletions
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;