From: Samuel Just Date: Wed, 28 Sep 2022 23:09:39 +0000 (-0700) Subject: common/operation: make OperationT::get_registry() protected X-Git-Tag: v18.1.0~1068^2~10 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=36a3ca5e773edf84f0894abc22fde7d2892afabe;p=ceph.git common/operation: make OperationT::get_registry() protected Signed-off-by: Samuel Just --- diff --git a/src/crimson/common/operation.h b/src/crimson/common/operation.h index 93dbe9ee5b94..c39ecea37a78 100644 --- a/src/crimson/common/operation.h +++ b/src/crimson/common/operation.h @@ -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();