From: Jeff Layton Date: Wed, 9 Oct 2019 15:02:41 +0000 (-0400) Subject: mds: fix decoding version for EMetaBlob X-Git-Tag: v15.1.0~128^2~5 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=5679c3db504f5701b42ed34ef73a9c87b162233e;p=ceph.git mds: fix decoding version for EMetaBlob There is code to handle version 8 in this function, but the current supported version is set to 7. Signed-off-by: Jeff Layton --- diff --git a/src/mds/journal.cc b/src/mds/journal.cc index e62c0e0a353..6b4c798b4c5 100644 --- a/src/mds/journal.cc +++ b/src/mds/journal.cc @@ -791,7 +791,7 @@ void EMetaBlob::encode(bufferlist& bl, uint64_t features) const } void EMetaBlob::decode(bufferlist::const_iterator &bl) { - DECODE_START_LEGACY_COMPAT_LEN(7, 5, 5, bl); + DECODE_START_LEGACY_COMPAT_LEN(8, 5, 5, bl); decode(lump_order, bl); decode(lump_map, bl); if (struct_v >= 4) {