This follows the coding style guidelines:
https://google.github.io/styleguide/cppguide.html#Declaration_Order
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
*/
class Filesystem
{
- public:
- fs_cluster_id_t fscid;
- MDSMap mds_map;
-
- void encode(bufferlist& bl, uint64_t features) const;
- void decode(bufferlist::iterator& p);
-
+public:
Filesystem()
:
fscid(FS_CLUSTER_ID_NONE)
{
}
+ void encode(bufferlist& bl, uint64_t features) const;
+ void decode(bufferlist::iterator& p);
+
void dump(Formatter *f) const;
void print(std::ostream& out) const;
return false;
}
+
+ fs_cluster_id_t fscid;
+ MDSMap mds_map;
};
WRITE_CLASS_ENCODER_FEATURES(Filesystem)