]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mds: fix decoding version for EMetaBlob
authorJeff Layton <jlayton@redhat.com>
Wed, 9 Oct 2019 15:02:41 +0000 (11:02 -0400)
committerJeff Layton <jlayton@redhat.com>
Sat, 11 Jan 2020 11:11:00 +0000 (06:11 -0500)
There is code to handle version 8 in this function, but the current
supported version is set to 7.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
src/mds/journal.cc

index e62c0e0a35397627e0db4dfd8209dd19354d27a9..6b4c798b4c59c10f9e87cceb5bcea524cff2a1b1 100644 (file)
@@ -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) {