1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00
lvm2/lib
Zdenek Kabelac fd96f1014b 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-09-01 17:57:50 +02:00
..
activate gcc: change zero-sized array to fexlible array 2020-09-01 17:57:50 +02:00
cache lvmcache: use uint32_t for seqno caching 2020-08-28 21:43:02 +02:00
cache_segtype cachevol: move flag setting after taking archive 2019-10-17 13:03:50 +02:00
commands hints: free hint structs on exit 2020-05-13 17:20:16 -05:00
config config: drop reading file with mmap 2020-08-28 21:43:02 +02:00
datastruct build: Don't generate symlinks in include/ dir 2018-05-14 10:30:20 +01:00
device gcc: zero-sized array to fexlible array C99 2020-09-01 17:57:50 +02:00
display Revert "lvdisplay: dispaly correct status when underlying devs missing" 2020-08-28 13:28:15 -05:00
error device_mapper: remove dbg_malloc. 2018-06-08 13:40:53 +01:00
filters devs: rename dev_is_md dev_is_md_component 2019-05-21 11:44:39 -05:00
format_text gcc: zero-sized array to fexlible array C99 2020-09-01 17:57:50 +02:00
freeseg device_mapper: remove dbg_malloc. 2018-06-08 13:40:53 +01:00
integrity Allow dm-integrity to be used for raid images 2020-04-15 12:10:32 -05:00
label gcc: zero-sized array to fexlible array C99 2020-09-01 17:57:50 +02:00
locking lvmlockd: use 4K sector size when any dev is 4K 2020-05-11 13:14:55 -05:00
log logging: remove unused code 2019-02-28 10:30:54 -06:00
lvmpolld device_mapper: remove dbg_malloc. 2018-06-08 13:40:53 +01:00
metadata gcc: zero-sized array to fexlible array C99 2020-09-01 17:57:50 +02:00
mirror pvmove: remove some cmirror related code 2019-10-11 11:31:42 -05:00
misc Allow dm-integrity to be used for raid images 2020-04-15 12:10:32 -05:00
mm gcc: use apropriate type for reading and printing values 2020-08-28 21:43:03 +02:00
notify build: Don't generate symlinks in include/ dir 2018-05-14 10:30:20 +01:00
properties build: Don't generate symlinks in include/ dir 2018-05-14 10:30:20 +01:00
raid Revert "lvdisplay: dispaly correct status when underlying devs missing" 2020-08-28 13:28:15 -05:00
report gcc: drop bogus ; 2020-08-28 21:43:03 +02:00
snapshot Merge branch '2018-06-04-data-structs' 2018-06-08 14:21:07 +01:00
striped device_mapper: remove dbg_malloc. 2018-06-08 13:40:53 +01:00
thin Merge branch '2018-06-04-data-structs' 2018-06-08 14:21:07 +01:00
unknown device_mapper: remove dbg_malloc. 2018-06-08 13:40:53 +01:00
uuid build: Don't generate symlinks in include/ dir 2018-05-14 10:30:20 +01:00
vdo vdo: remember configure VDO write policy in metadata 2019-10-04 17:31:55 +02:00
writecache writecache: add settings cleaner and max_age 2020-06-10 12:15:50 -05:00
zero device_mapper: remove dbg_malloc. 2018-06-08 13:40:53 +01:00
Makefile.in Allow dm-integrity to be used for raid images 2020-04-15 12:10:32 -05:00