From: Dan Mick Date: Fri, 7 Jun 2013 00:40:53 +0000 (-0700) Subject: MDSMonitor: dead debugging code X-Git-Tag: v0.65~136^2^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=faa1ae76946c837d8641297847b0fa9ce5177fc3;p=ceph.git MDSMonitor: dead debugging code Signed-off-by: Dan Mick --- diff --git a/src/mon/MDSMonitor.cc b/src/mon/MDSMonitor.cc index 5e6941247e80..0314f2b2e4d1 100644 --- a/src/mon/MDSMonitor.cc +++ b/src/mon/MDSMonitor.cc @@ -826,11 +826,6 @@ bool MDSMonitor::prepare_command(MMonCommand *m) } else if (prefix == "mds set_max_mds") { int64_t maxmds; - if (cmdmap["maxmds"].which() != 2) { - ss << "wtf: maxmds's type is not 2, but rather " << cmdmap["maxmds"].which(); - r = -EINVAL; - goto out; - } if (!cmd_getval(g_ceph_context, cmdmap, "maxmds", maxmds) || maxmds < 0) goto out; pending_mdsmap.max_mds = maxmds;