diff options
Diffstat (limited to 'src/messages/MExportDirAck.h')
-rw-r--r-- | src/messages/MExportDirAck.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/messages/MExportDirAck.h b/src/messages/MExportDirAck.h index dcf1c7d3a5c..ff076eca5d2 100644 --- a/src/messages/MExportDirAck.h +++ b/src/messages/MExportDirAck.h @@ -16,13 +16,16 @@ #define CEPH_MEXPORTDIRACK_H #include "MExportDir.h" +#include "msg/Message.h" class MExportDirAck : public Message { public: + typedef boost::intrusive_ptr<MExportDirAck> ref; + typedef boost::intrusive_ptr<MExportDirAck const> const_ref; dirfrag_t dirfrag; bufferlist imported_caps; - dirfrag_t get_dirfrag() { return dirfrag; } + dirfrag_t get_dirfrag() const { return dirfrag; } MExportDirAck() : Message(MSG_MDS_EXPORTDIRACK) {} MExportDirAck(dirfrag_t df, uint64_t tid) : |