]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
common/operation: make OperationT::get_registry() protected
authorSamuel Just <sjust@redhat.com>
Wed, 28 Sep 2022 23:09:39 +0000 (16:09 -0700)
committerSamuel Just <sjust@redhat.com>
Sat, 1 Oct 2022 21:38:11 +0000 (14:38 -0700)
Signed-off-by: Samuel Just <sjust@redhat.com>
src/crimson/common/operation.h

index 93dbe9ee5b94f71da7628f768dd6afd40dc086de..c39ecea37a786399f227236e0016e97022dbf547 100644 (file)
@@ -417,7 +417,7 @@ protected:
                       });
   }
 
-public:
+protected:
   OperationRegistryT(core_id_t core) {
     // Use core to initialize upper 8 bits of counters to ensure that
     // ids generated by different cores are disjoint
@@ -440,6 +440,7 @@ public:
     return registries[REGISTRY_INDEX];
   }
 
+public:
   /// Removes op from registry
   void remove_from_registry(Operation &op) {
     const auto op_type = op.get_type();