osd/osd_types: bump encoding from 11 -> 12

Meant to do this in a1b82f2a56 or
d421b66293 but forgot!

Signed-off-by: Sage Weil <sage@inktank.com>
This commit is contained in:
Sage Weil 2013-10-01 15:32:59 -07:00
parent 0459dc4f46
commit 011bff3405

View File

@ -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<entity_name_t, watch_info_t> old_watchers;
if (struct_v >= 2 && struct_v <= 5) {
sobject_t obj;