]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
crimson/osd: mark md_config_obs_t a private parent class
authorKefu Chai <kchai@redhat.com>
Sat, 3 Oct 2020 10:56:30 +0000 (18:56 +0800)
committerKefu Chai <kchai@redhat.com>
Sat, 3 Oct 2020 11:07:46 +0000 (19:07 +0800)
it registers itself as an observer in its ctor, so there is no need to
mark md_config_obs_t a public parent class.

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/crimson/osd/osd_operation.h

index 35f997ba9faa307c05c3ec655ade59093437f6be..2a2250e6571a5010975cfbd7e255b56239a635e3 100644 (file)
@@ -313,7 +313,8 @@ public:
  * expensive and simply limits the number that can be
  * concurrently active.
  */
-class OperationThrottler : public Blocker, md_config_obs_t {
+class OperationThrottler : public Blocker,
+                       private md_config_obs_t {
 public:
   OperationThrottler(ConfigProxy &conf);