]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mds/FSMap: do not set legacy_client_fscid after filtering 37148/head
authorPatrick Donnelly <pdonnell@redhat.com>
Mon, 14 Sep 2020 19:26:15 +0000 (12:26 -0700)
committerPatrick Donnelly <pdonnell@redhat.com>
Mon, 14 Sep 2020 19:27:50 +0000 (12:27 -0700)
Various code expects that there is only one file system if this field is
set. This is not meant to be set except as a stop-gap when upgrading
Ceph with "legacy" file systems.

Fixes: 811e48d6ffd841ecd93a57eb00c6aceae476f4f8
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
src/mds/FSMap.h

index 84e98de69843200a35cef590e596569bf5637f43..dc9fac4a50c7a562e72911bc8fc2613ddc2850a8 100644 (file)
@@ -263,8 +263,6 @@ public:
        mds_roles.erase(r.first);
       }
     }
-
-    legacy_client_fscid = filesystems.begin()->first;
   }
 
   void set_enable_multiple(const bool v)