From 9c065e67d29211352950e8e858b7b55c7d3ada20 Mon Sep 17 00:00:00 2001 From: xie xingguo Date: Wed, 17 Aug 2016 14:34:01 +0800 Subject: [PATCH] mon/PGMonitor: drop redundant loading of dumpcontents Signed-off-by: xie xingguo --- src/mon/PGMonitor.cc | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/mon/PGMonitor.cc b/src/mon/PGMonitor.cc index 04c75e59d5824..d07f5110df882 100644 --- a/src/mon/PGMonitor.cc +++ b/src/mon/PGMonitor.cc @@ -1699,11 +1699,6 @@ bool PGMonitor::preprocess_command(MonOpRequestRef op) if (what.empty()) what.insert("all"); if (f) { - vector dumpcontents; - if (cmd_getval(g_ceph_context, cmdmap, "dumpcontents", dumpcontents)) { - copy(dumpcontents.begin(), dumpcontents.end(), - inserter(what, what.end())); - } if (what.count("all")) { f->open_object_section("pg_map"); pg_map.dump(f.get()); -- 2.39.5