linux/drivers/md/dm-ioctl.c
David Laight cd516571e9 dm: lookup_ioctl(): Use designated array initialers
Use designated initialisers for the _ioctls[] array and delete the
unused field that contained the array index.

Makes the code more robust against the order of the initialers.
Any uninitialised entries would be processed corretly.

Signed-off-by: David Laight <david.laight.linux@gmail.com>
Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
2026-07-16 16:00:51 +02:00

2464 lines
56 KiB