]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
mds: fix compile error with CephContext declaration
authorWillem Jan Withagen <wjw@digiware.nl>
Mon, 8 Jun 2020 12:30:37 +0000 (12:30 +0000)
committerWillem Jan Withagen <wjw@digiware.nl>
Mon, 8 Jun 2020 12:30:37 +0000 (12:30 +0000)
SimilarTo: https://github.com/ceph/ceph/pull/35209
Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
src/mds/MetricAggregator.h
src/mds/MetricsHandler.h

index 69a1f75e9e2fa69a84f1190bbd4076edf36e0774..fe9aef2e3bc44d774c54f65089aed07ac4e08cf9 100644 (file)
@@ -11,6 +11,7 @@
 #include "msg/msg_types.h"
 #include "msg/Dispatcher.h"
 #include "common/ceph_mutex.h"
+#include "include/common_fwd.h"
 #include "messages/MMDSMetrics.h"
 
 #include "mgr/MetricTypes.h"
@@ -22,7 +23,6 @@
 
 class MDSRank;
 class MgrClient;
-class CephContext;
 
 class MetricAggregator : public Dispatcher {
 public:
index 73a18a012560b0a0fa4954592b9ef4ef24d570e3..1031709c53d4e18ce9c52f4b4aad069ef895a36f 100644 (file)
@@ -10,6 +10,7 @@
 
 #include "msg/Dispatcher.h"
 #include "common/ceph_mutex.h"
+#include "include/common_fwd.h"
 #include "include/cephfs/metrics/Types.h"
 
 #include "messages/MMDSPing.h"
@@ -19,7 +20,6 @@
 
 class MDSRank;
 class Session;
-class CephContext;
 
 class MetricsHandler : public Dispatcher {
 public: