mirror of
https://github.com/ceph/ceph
synced 2024-12-15 16:07:00 +00:00
mds: fix default_file_layout constructor
Signed-off-by: Greg Farnum <greg@inktank.com> Reviewed-by: Sage Weil <sage@inktank.com>
This commit is contained in:
parent
e461f0966a
commit
2e39dd5e6f
@ -71,6 +71,10 @@ struct default_file_layout {
|
||||
|
||||
ceph_file_layout layout;
|
||||
|
||||
default_file_layout() {
|
||||
memset(&layout, 0, sizeof(layout));
|
||||
}
|
||||
|
||||
void encode(bufferlist &bl) const {
|
||||
__u8 struct_v = 1;
|
||||
::encode(struct_v, bl);
|
||||
|
Loading…
Reference in New Issue
Block a user