]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
tool/ceph-bluestore-tool: fix wrong keyword for 'free-fragmentation' command. 62124/head
authorIgor Fedotov <ifedotov@suse.com>
Mon, 14 Mar 2022 18:12:01 +0000 (21:12 +0300)
committerIgor Fedotov <igor.fedotov@croit.io>
Wed, 5 Mar 2025 10:59:33 +0000 (13:59 +0300)
Signed-off-by: Igor Fedotov <igor.fedotov@croit.io>
(cherry picked from commit 33037eccf07ded85ba9127bde333184a4de8f060)

src/os/bluestore/bluestore_tool.cc

index e63616bdd0203bb1ae41a037e88b0ea019bc8025..8aec63bd7c525c8c69574973a6728f8c8388c263 100644 (file)
@@ -1028,7 +1028,7 @@ int main(int argc, char **argv)
       }
       return r;
     }
-  } else  if (action == "free-dump" || action == "free-score" || action == "fragmentation") {
+  } else  if (action == "free-dump" || action == "free-score" || action == "free-fragmentation") {
     AdminSocket *admin_socket = g_ceph_context->get_admin_socket();
     ceph_assert(admin_socket);
     std::string action_name = action == "free-dump" ? "dump" :