From c1ee3ed9adbb4650dfc26f36c5d112e84cb59868 Mon Sep 17 00:00:00 2001 From: Matan Breizman Date: Wed, 28 Jun 2023 11:22:49 +0000 Subject: [PATCH] osd/OSD.h: cleanup unused make_*_oid methods Signed-off-by: Matan Breizman --- src/osd/OSD.h | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/src/osd/OSD.h b/src/osd/OSD.h index 1b714d3bd192b..3ea0c7550e72e 100644 --- a/src/osd/OSD.h +++ b/src/osd/OSD.h @@ -1168,26 +1168,6 @@ public: 0))); } - static ghobject_t make_pg_log_oid(spg_t pg) { - std::stringstream ss; - ss << "pglog_" << pg; - std::string s; - getline(ss, s); - return ghobject_t(hobject_t(sobject_t(object_t(s.c_str()), 0))); - } - - static ghobject_t make_pg_biginfo_oid(spg_t pg) { - std::stringstream ss; - ss << "pginfo_" << pg; - std::string s; - getline(ss, s); - return ghobject_t(hobject_t(sobject_t(object_t(s.c_str()), 0))); - } - static ghobject_t make_infos_oid() { - hobject_t oid(sobject_t("infos", CEPH_NOSNAP)); - return ghobject_t(oid); - } - static ghobject_t make_final_pool_info_oid(int64_t pool) { return ghobject_t( hobject_t( -- 2.47.3