mirror of
https://github.com/ceph/ceph
synced 2025-01-03 09:32:43 +00:00
mds: organize Filesystem class def
This follows the coding style guidelines: https://google.github.io/styleguide/cppguide.html#Declaration_Order Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
This commit is contained in:
parent
da7d071654
commit
0a40f4fb46
@ -45,19 +45,16 @@ class health_check_map_t;
|
||||
*/
|
||||
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;
|
||||
|
||||
@ -77,6 +74,9 @@ class Filesystem
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
fs_cluster_id_t fscid;
|
||||
MDSMap mds_map;
|
||||
};
|
||||
WRITE_CLASS_ENCODER_FEATURES(Filesystem)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user