1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-22 17:35:59 +03:00
lvm2/lib/metadata
Zdenek Kabelac d53456be24 gcc: zero-sized array to fexlible array C99
Switch remaining zero sized struct to flexible arrays to be C99
complient.

These simple rules should apply:

- The incomplete array type must be the last element within the structure.
- There cannot be an array of structures that contain a flexible array member.
- Structures that contain a flexible array member cannot be used as a member of another structure.
- The structure must contain at least one named member in addition to the flexible array member.

Although some of the code pieces should be still improved.
2020-10-16 16:02:06 +02:00
..
cache_manip.c cache: drop metadata_format validation 2018-08-07 18:04:14 +02:00
lv_alloc.h tidy: declaration names match implementation 2017-07-20 19:16:41 +02:00
lv_manip.c gcc: zero-sized array to fexlible array C99 2020-10-16 16:02:06 +02:00
lv.c cache: support no_discard_passdown 2019-06-05 15:54:58 +02:00
lv.h replicator: remove the code 2017-10-13 16:20:42 -05:00
merge.c lvconvert: fix conversion to 'mirrored' mirror log with larger regionsize 2020-07-09 14:43:23 +02:00
metadata-exported.h lv_manip: get_default_region_size return uint32_t 2020-10-16 16:02:05 +02:00
metadata-liblvm.c scan: fix missing close in lib 2018-05-16 14:48:30 -05:00
metadata.c gcc: drop bogus ; 2020-10-16 16:02:06 +02:00
metadata.h scanning: optimize by checking text offset and checksum 2020-06-23 11:32:32 -05:00
mirror.c fix dev_unset_last_byte after write error 2019-11-13 11:28:22 -06:00
pool_manip.c lvconvert: use excl activation for conversion 2018-01-17 14:43:34 +01:00
pv_alloc.h doc: change fsf address 2016-01-21 12:11:37 +01:00
pv_manip.c pvresize: add missing return 2018-06-22 12:37:09 +02:00
pv_map.c doc: change fsf address 2016-01-21 12:11:37 +01:00
pv_map.h tidy: declaration names match implementation 2017-07-20 19:16:41 +02:00
pv.c lvmcache: add optional dev arg to lvmcache_info_from_pvid 2016-06-07 15:15:47 -05:00
pv.h tidy: declaration names match implementation 2017-07-20 19:16:41 +02:00
raid_manip.c Revert "lvconvert: display warning if raid1 LV image count does not change" 2020-09-28 17:17:26 +02:00
segtype.c segtype: add linear 2018-06-26 12:15:44 +02:00
segtype.h segtype: add linear 2018-06-26 12:15:44 +02:00
snapshot_manip.c snapshot: use single merging sequence 2019-10-26 00:42:50 +02:00
takeover_matrix.h lvconvert: add infrastructure for RaidLV reshaping support 2017-02-24 05:20:58 +01:00
thin_manip.c lv_manip: add synchronizations 2019-08-26 15:36:41 +02:00
vg.c gcc: use apropriate type for reading and printing values 2020-10-16 16:02:05 +02:00
vg.h Remove lvm1 and pool disk formats 2018-04-30 16:55:02 -05:00