From: John Spray Date: Tue, 15 Sep 2015 20:24:18 +0000 (+0100) Subject: osdc/Objecter: make unlocked 'full' helpers private X-Git-Tag: v9.1.0~100^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=ca7861d28fd393de690565fe1de034f63402371b;p=ceph.git osdc/Objecter: make unlocked 'full' helpers private These never needed to be public, let's be safe. Signed-off-by: John Spray --- diff --git a/src/osdc/Objecter.h b/src/osdc/Objecter.h index a8c2bc3ea108..c42108c9f621 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;