]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
osdc/Objecter: make unlocked 'full' helpers private
authorJohn Spray <john.spray@redhat.com>
Tue, 15 Sep 2015 20:24:18 +0000 (21:24 +0100)
committerJohn Spray <john.spray@redhat.com>
Tue, 15 Sep 2015 20:25:04 +0000 (21:25 +0100)
These never needed to be public, let's be safe.

Signed-off-by: John Spray <john.spray@redhat.com>
src/osdc/Objecter.h

index a8c2bc3ea108be85ae88f5dfc6aa2c2ecf854ba1..c42108c9f6216365dc38e6ad983019433c6f70fe 100644 (file)
@@ -1725,6 +1725,9 @@ public:
   map<int,OSDSession*> 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<int64_t, bool>& pool_full_map);
 
- private:
   map<uint64_t, LingerOp*>  linger_ops;
   // we use this just to confirm a cookie is valid before dereferencing the ptr
   set<LingerOp*>            linger_ops_set;