]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mds: revert the decode version 36617/head
authorJos Collin <jcollin@redhat.com>
Thu, 13 Aug 2020 15:30:13 +0000 (21:00 +0530)
committerJos Collin <jcollin@redhat.com>
Thu, 13 Aug 2020 15:30:13 +0000 (21:00 +0530)
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>
src/mds/FSMap.cc

index 9fd18f4e187c356ece1a09366ea77f94437bc4e6..50d252230077fdb6a51a474c3eb729e005967646 100644 (file)
@@ -505,7 +505,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