]> www.infradead.org Git - users/jedix/linux-maple.git/commit
dm: Remove max_secure_erase_granularity
authorDamien Le Moal <dlemoal@kernel.org>
Thu, 4 Jul 2024 13:45:25 +0000 (15:45 +0200)
committerMikulas Patocka <mpatocka@redhat.com>
Wed, 10 Jul 2024 11:10:06 +0000 (13:10 +0200)
commit9d45db03acf9cee4f83148c403d105b1a38a0f23
tree03c76ca1d5824719365c47abadcb29b9e78f3de8
parent396a27e91265a6632be17bebacb6743f0b9447be
dm: Remove max_secure_erase_granularity

The max_secure_erase_granularity boolean of struct dm_target is used in
__process_abnormal_io() but never set by any target. Remove this field
and the dead code using it.

Signed-off-by: Damien Le Moal <dlemoal@kernel.org>
Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
drivers/md/dm.c
include/linux/device-mapper.h