]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
messages: #include necessary header 27590/head
authorKefu Chai <kchai@redhat.com>
Sun, 14 Apr 2019 15:28:28 +0000 (23:28 +0800)
committerKefu Chai <kchai@redhat.com>
Wed, 24 Apr 2019 13:36:58 +0000 (21:36 +0800)
* MOSDPGLog.h,MBackfillReserve.h,MOSDPGTrim.h,MRecoveryReserve.h:
  for instance, MLogRec is defined in PGPeeringEvent.h, we should not rely
  other header(s) to do this for us. so just #include PGPeeringEvent.h for
  its definition.
* MOSDPeeringOp: do not include PGPeeringEvent.h, as it's not used in
  this header. forward delcaration would suffice

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/messages/MOSDPGTrim.h
src/messages/MRecoveryReserve.h

index 22abef8ffb810232fc8edaa1500f21c18b73e04a..7155363ed068a055ba9e57c6707f80d267b89995 100644 (file)
@@ -17,6 +17,7 @@
 
 #include "msg/Message.h"
 #include "messages/MOSDPeeringOp.h"
+#include "osd/PGPeeringEvent.h"
 
 class MOSDPGTrim : public MOSDPeeringOp {
 private:
index 5c375601ba975dfe99c37bb209d9e65130e80077..993f0391e3b347d73136662ec3d7fc17dd512097 100644 (file)
@@ -17,6 +17,7 @@
 
 #include "msg/Message.h"
 #include "messages/MOSDPeeringOp.h"
+#include "osd/PGPeeringEvent.h"
 
 class MRecoveryReserve : public MOSDPeeringOp {
 private: