]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
tools/kvstore_tool: make load_bluestore() `private`
authorMax Kellermann <max.kellermann@ionos.com>
Fri, 21 Feb 2025 14:50:24 +0000 (15:50 +0100)
committerIgor Fedotov <igor.fedotov@croit.io>
Wed, 15 Apr 2026 22:14:19 +0000 (01:14 +0300)
This method is only used internally.

Signed-off-by: Max Kellermann <max.kellermann@ionos.com>
(cherry picked from commit 71d5e90c44b2c1b0a3865c900e2d84e92e16160b)

src/tools/kvstore_tool.h

index 02e6462788269d9d1c3824685a4bc5b85442764d..881446a7aaca01c30219199eda8c9a2965853ab9 100644 (file)
@@ -47,7 +47,6 @@ public:
             bool read_only,
            bool need_open_db = true,
            bool need_stats = false);
-  int load_bluestore(const std::string& path, bool read_only, bool need_open_db);
   uint32_t traverse(const std::string& prefix,
                     const bool do_crc,
                     const bool do_value_dump,
@@ -80,4 +79,7 @@ public:
 
   int print_stats() const;
   int build_size_histogram(const std::string& prefix) const;
+
+private:
+  int load_bluestore(const std::string& path, bool read_only, bool need_open_db);
 };