]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mds: revert the decode version 37356/head
authorJos Collin <jcollin@redhat.com>
Thu, 13 Aug 2020 15:30:13 +0000 (21:00 +0530)
committerNathan Cutler <ncutler@suse.com>
Wed, 23 Sep 2020 12:05:59 +0000 (14:05 +0200)
Introduced in
https://github.com/ceph/ceph/commit/3fac3b1236c4918e9640e38fe7f5f59efc0a23b9,
the decode changes are reverted but the version number is not.

Fixes: https://tracker.ceph.com/issues/46926
Signed-off-by: Jos Collin <jcollin@redhat.com>
(cherry picked from commit 214b51c37c253c1106ef3cbd03950f56f79c2848)

src/mds/FSMap.cc

index b95e5c840c0045e98ed826c3492bcf59a69a0bfb..8f4cffa43a009840767dc35475f6cff8f62d7805 100644 (file)
@@ -497,7 +497,7 @@ void FSMap::decode(bufferlist::const_iterator& p)
   // MDSMonitor to store an FSMap instead of an MDSMap was
   // 5, so anything older than 6 is decoded as an MDSMap,
   // and anything newer is decoded as an FSMap.
-  DECODE_START_LEGACY_COMPAT_LEN_16(8, 4, 4, p);
+  DECODE_START_LEGACY_COMPAT_LEN_16(7, 4, 4, p);
   if (struct_v < 6) {
     // Because the mon used to store an MDSMap where we now
     // store an FSMap, FSMap knows how to decode the legacy