From 40cf4ce1e182ca6689453e220137ea4de9f84aff Mon Sep 17 00:00:00 2001 From: Zdenek Kabelac Date: Mon, 20 May 2024 14:15:38 +0200 Subject: [PATCH] cleanup: struct reorder Better alignments. --- lib/metadata/metadata-exported.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/metadata/metadata-exported.h b/lib/metadata/metadata-exported.h index 5ca8f7cfb..3d5e3ce72 100644 --- a/lib/metadata/metadata-exported.h +++ b/lib/metadata/metadata-exported.h @@ -433,12 +433,14 @@ struct pv_segment { */ struct format_instance { - unsigned ref_count; /* Refs to this fid from VG and PV structs */ struct dm_pool *mem; - uint32_t type; const struct format_type *fmt; + unsigned ref_count; /* Refs to this fid from VG and PV structs */ + + uint32_t type; + /* * Each mda in a vg is on exactly one of the below lists. * MDAs on the 'in_use' list will be read from / written to