diff options
| author | Damien Le Moal <[email protected]> | 2024-07-04 15:45:25 +0200 |
|---|---|---|
| committer | Mikulas Patocka <[email protected]> | 2024-07-10 13:10:06 +0200 |
| commit | 9d45db03acf9cee4f83148c403d105b1a38a0f23 (patch) | |
| tree | 03c76ca1d5824719365c47abadcb29b9e78f3de8 /include/linux | |
| parent | 396a27e91265a6632be17bebacb6743f0b9447be (diff) | |
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 <[email protected]>
Signed-off-by: Mikulas Patocka <[email protected]>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/device-mapper.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/include/linux/device-mapper.h b/include/linux/device-mapper.h index 5b7e96653ec6..4ba2e73993bd 100644 --- a/include/linux/device-mapper.h +++ b/include/linux/device-mapper.h @@ -364,12 +364,6 @@ struct dm_target { bool max_discard_granularity:1; /* - * Set if this target requires that secure_erases be split on - * 'max_secure_erase_sectors' boundaries. - */ - bool max_secure_erase_granularity:1; - - /* * Set if we need to limit the number of in-flight bios when swapping. */ bool limit_swap_bios:1; |