summaryrefslogtreecommitdiffstats
path: root/src/messages/MOSDECSubOpRead.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/messages/MOSDECSubOpRead.h')
-rw-r--r--src/messages/MOSDECSubOpRead.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/messages/MOSDECSubOpRead.h b/src/messages/MOSDECSubOpRead.h
index 99e62e6c48a..3e315ef26a8 100644
--- a/src/messages/MOSDECSubOpRead.h
+++ b/src/messages/MOSDECSubOpRead.h
@@ -20,7 +20,7 @@
#include "osd/ECMsgTypes.h"
class MOSDECSubOpRead : public Message {
- static const int HEAD_VERSION = 1;
+ static const int HEAD_VERSION = 2;
static const int COMPAT_VERSION = 1;
public:
@@ -46,7 +46,7 @@ public:
virtual void encode_payload(uint64_t features) {
::encode(pgid, payload);
::encode(map_epoch, payload);
- ::encode(op, payload);
+ ::encode(op, payload, features);
}
const char *get_type_name() const { return "MOSDECSubOpRead"; }