mirror of
https://github.com/ceph/ceph
synced 2024-12-26 05:25:09 +00:00
osd/osd_types: bump encoding from 11 -> 12
Meant to do this ina1b82f2a56
ord421b66293
but forgot! Signed-off-by: Sage Weil <sage@inktank.com>
This commit is contained in:
parent
0459dc4f46
commit
011bff3405
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user