]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mds: include legacy_client_fscid in FSMap::dump
authorJohn Spray <john.spray@redhat.com>
Wed, 7 Mar 2018 14:30:37 +0000 (14:30 +0000)
committerJohn Spray <john.spray@redhat.com>
Wed, 7 Mar 2018 14:30:37 +0000 (14:30 +0000)
Signed-off-by: John Spray <john.spray@redhat.com>
src/mds/FSMap.cc

index 9737798b0bc0a65ba19d9a889461df68f7c5ae29..9831c605b0d7ed3391ab056da642911161fdcd1c 100644 (file)
@@ -32,6 +32,8 @@ void Filesystem::dump(Formatter *f) const
 void FSMap::dump(Formatter *f) const
 {
   f->dump_int("epoch", epoch);
+  // Use 'default' naming to match 'set-default' CLI
+  f->dump_int("default_fscid", legacy_client_fscid);
 
   f->open_object_section("compat");
   compat.dump(f);