linux/drivers/md/persistent-data
Christophe JAILLET 0b60be1628 dm: Constify struct dm_block_validator
'struct dm_block_validator' are not modified in these drivers.

Constifying this structure moves some data to a read-only section, so
increase overall security.

On a x86_64, with allmodconfig, as an example:

Before:
======
   text	   data	    bss	    dec	    hex	filename
  32047	    920	     16	  32983	   80d7	drivers/md/dm-cache-metadata.o

After:
=====
   text	   data	    bss	    dec	    hex	filename
  32075	    896	     16	  32987	   80db	drivers/md/dm-cache-metadata.o

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
2024-07-19 12:08:15 +02:00
..
dm-array.c dm: Constify struct dm_block_validator 2024-07-19 12:08:15 +02:00
dm-array.h dm: change "unsigned" to "unsigned int" 2023-02-14 14:23:06 -05:00
dm-bitset.c dm: add missing empty lines 2023-02-14 14:23:06 -05:00
dm-bitset.h dm: add missing SPDX-License-Indentifiers 2023-02-14 14:23:06 -05:00
dm-block-manager.c dm: Constify struct dm_block_validator 2024-07-19 12:08:15 +02:00
dm-block-manager.h dm: Constify struct dm_block_validator 2024-07-19 12:08:15 +02:00
dm-btree-internal.h dm: Constify struct dm_block_validator 2024-07-19 12:08:15 +02:00
dm-btree-remove.c dm: add missing empty lines 2023-02-14 14:23:06 -05:00
dm-btree-spine.c dm: Constify struct dm_block_validator 2024-07-19 12:08:15 +02:00
dm-btree.c dm: add missing blank line after declarations/fix those 2023-02-14 14:23:07 -05:00
dm-btree.h dm: add missing blank line after declarations/fix those 2023-02-14 14:23:07 -05:00
dm-persistent-data-internal.h dm: change "unsigned" to "unsigned int" 2023-02-14 14:23:06 -05:00
dm-space-map-common.c dm: Constify struct dm_block_validator 2024-07-19 12:08:15 +02:00
dm-space-map-common.h dm: favour __packed versus "__attribute__ ((packed))" 2023-02-14 14:23:07 -05:00
dm-space-map-disk.c dm: remove unnecessary braces from single statement blocks 2023-02-14 14:23:06 -05:00
dm-space-map-disk.h dm: add missing SPDX-License-Indentifiers 2023-02-14 14:23:06 -05:00
dm-space-map-metadata.c dm: add missing empty lines 2023-02-14 14:23:06 -05:00
dm-space-map-metadata.h dm: add missing SPDX-License-Indentifiers 2023-02-14 14:23:06 -05:00
dm-space-map.h dm thin metadata: Fix ABBA deadlock by resetting dm_bufio_client 2023-06-16 18:24:13 -04:00
dm-transaction-manager.c dm: Constify struct dm_block_validator 2024-07-19 12:08:15 +02:00
dm-transaction-manager.h dm: Constify struct dm_block_validator 2024-07-19 12:08:15 +02:00
Kconfig treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00