]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mon: no confirmation required for allow_dirfrags
authorJohn Spray <john.spray@redhat.com>
Thu, 9 Mar 2017 14:03:07 +0000 (09:03 -0500)
committerJohn Spray <john.spray@redhat.com>
Tue, 28 Mar 2017 22:26:34 +0000 (23:26 +0100)
Signed-off-by: John Spray <john.spray@redhat.com>
src/mon/FSCommands.cc

index 6093b5dd4ffcc9f41d837e6b0ceae3115575d944..21918032e550eb77006c48c26a675a231a8ce88b 100644 (file)
@@ -379,12 +379,6 @@ public:
                });
        ss << "disallowed new directory fragmentation";
       } else {
-       string confirm;
-       if (!cmd_getval(g_ceph_context, cmdmap, "confirm", confirm) ||
-           confirm != "--yes-i-really-mean-it") {
-         ss << EXPERIMENTAL_WARNING;
-         return -EPERM;
-       }
         fsmap.modify_filesystem(
             fs->fscid,
             [](std::shared_ptr<Filesystem> fs)