]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mds: remove a spurious #if 1
authorJohn Spray <john.spray@redhat.com>
Fri, 13 Mar 2015 20:58:09 +0000 (16:58 -0400)
committerJohn Spray <john.spray@redhat.com>
Mon, 23 Mar 2015 10:55:07 +0000 (10:55 +0000)
This crept in in f93bf385.

Signed-off-by: John Spray <john.spray@redhat.com>
src/mds/MDSMap.h

index 0e36c14557e349654ce53abefce520b1733b9627..7933d36a8525a9d63ec4b80bffa6388a63c7daa5 100644 (file)
@@ -136,12 +136,8 @@ public:
     std::string standby_for_name;
     std::set<mds_rank_t> export_targets;
 
-#if 1
     mds_info_t() : global_id(MDS_GID_NONE), rank(MDS_RANK_NONE), inc(0), state(STATE_STANDBY), state_seq(0),
                   standby_for_rank(MDS_NO_STANDBY_PREF) { }
-#else
-    mds_info_t();
-#endif
 
     bool laggy() const { return !(laggy_since == utime_t()); }
     void clear_laggy() { laggy_since = utime_t(); }