diff --git a/src/osd/osd_types.cc b/src/osd/osd_types.cc index 952f0cf75d7..1fecece9290 100644 --- a/src/osd/osd_types.cc +++ b/src/osd/osd_types.cc @@ -2823,7 +2823,7 @@ void object_info_t::encode(bufferlist& bl) const ++i) { old_watchers.insert(make_pair(i->first.second, i->second)); } - ENCODE_START(11, 8, bl); + ENCODE_START(12, 8, bl); ::encode(soid, bl); ::encode(myoloc, bl); //Retained for compatibility ::encode(category, bl); @@ -2854,7 +2854,7 @@ void object_info_t::encode(bufferlist& bl) const void object_info_t::decode(bufferlist::iterator& bl) { object_locator_t myoloc; - DECODE_START_LEGACY_COMPAT_LEN(11, 8, 8, bl); + DECODE_START_LEGACY_COMPAT_LEN(12, 8, 8, bl); map old_watchers; if (struct_v >= 2 && struct_v <= 5) { sobject_t obj;