]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mds: refactor Filesystem init
authorPatrick Donnelly <pdonnell@redhat.com>
Sun, 6 May 2018 02:53:09 +0000 (19:53 -0700)
committerPatrick Donnelly <pdonnell@redhat.com>
Sun, 6 May 2018 02:53:09 +0000 (19:53 -0700)
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
src/mds/FSMap.h

index b2995541a96ac5ccd45440b8f4ea0948e6f0017c..f26414df4202a0ce6f9e233578d563a91e0b2c76 100644 (file)
@@ -47,12 +47,6 @@ class health_check_map_t;
 class Filesystem
 {
 public:
-  Filesystem()
-    :
-      fscid(FS_CLUSTER_ID_NONE)
-  {
-  }
-
   void encode(bufferlist& bl, uint64_t features) const;
   void decode(bufferlist::iterator& p);
 
@@ -76,7 +70,7 @@ public:
     return false;
   }
 
-  fs_cluster_id_t fscid;
+  fs_cluster_id_t fscid = FS_CLUSTER_ID_NONE;
   MDSMap mds_map;
 };
 WRITE_CLASS_ENCODER_FEATURES(Filesystem)