1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

cleanup: remove struct pv_header_extension reference from struct pv_header

Just to prevent accidental and improper use when reading the layout
from disk because of the already existing disk_areas_xl[0] lists
that are variable in size. We can read pv_header_extension only
after we know exactly where the lists end...
This commit is contained in:
Peter Rajnoha 2013-02-27 10:47:24 +01:00
parent 9d5a3c16dd
commit a9d0e25627

View File

@ -43,9 +43,6 @@ struct pv_header {
/* NULL-terminated list of data areas followed by */ /* NULL-terminated list of data areas followed by */
/* NULL-terminated list of metadata area headers */ /* NULL-terminated list of metadata area headers */
struct disk_locn disk_areas_xl[0]; /* Two lists */ struct disk_locn disk_areas_xl[0]; /* Two lists */
/* PV header extension */
struct pv_header_extension ext;
} __attribute__ ((packed)); } __attribute__ ((packed));
/* /*