From ca7861d28fd393de690565fe1de034f63402371b Mon Sep 17 00:00:00 2001 From: John Spray Date: Tue, 15 Sep 2015 21:24:18 +0100 Subject: [PATCH] osdc/Objecter: make unlocked 'full' helpers private These never needed to be public, let's be safe. Signed-off-by: John Spray --- src/osdc/Objecter.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/osdc/Objecter.h b/src/osdc/Objecter.h index a8c2bc3ea108b..c42108c9f6216 100644 --- a/src/osdc/Objecter.h +++ b/src/osdc/Objecter.h @@ -1725,6 +1725,9 @@ public: map osd_sessions; bool osdmap_full_flag() const; + bool osdmap_pool_full(const int64_t pool_id) const; + + private: /** * Test pg_pool_t::FLAG_FULL on a pool @@ -1732,12 +1735,10 @@ public: * @return true if the pool exists and has the flag set, or * the global full flag is set, else false */ - bool osdmap_pool_full(const int64_t pool_id) const; bool _osdmap_pool_full(const int64_t pool_id) const; bool _osdmap_pool_full(const pg_pool_t &p) const; void update_pool_full_map(map& pool_full_map); - private: map linger_ops; // we use this just to confirm a cookie is valid before dereferencing the ptr set linger_ops_set; -- 2.39.5