Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
ls.back()->realm.seq = 2;
ls.back()->realm.parent = 1;
}
-
-
-ostream& operator<<(ostream &out, const mds_role_t &role)
-{
- out << role.fscid << ":" << role.rank;
- return out;
-}
-
fs_cluster_id_t fscid = FS_CLUSTER_ID_NONE;
mds_rank_t rank = MDS_RANK_NONE;
};
-std::ostream& operator<<(std::ostream &out, const mds_role_t &role);
+inline std::ostream& operator<<(std::ostream& out, const mds_role_t& role) {
+ return out << role.fscid << ":" << role.rank;
+}
// CAPS
inline string gcap_string(int cap)