mirror of
https://gitlab.com/cryptsetup/cryptsetup.git
synced 2025-12-14 04:10:06 +01:00
This patch adds support for fixed padding to cryptsetup. * Cryptsetup will accept superblocks version 4. * If the dm-integrity target version is greater than 1.4, cryptsetup will add a flag "fix_padding" to the dm-integrity target arguments. There is still one quirk: if we have an old libdm without DM_DEVICE_GET_TARGET_VERSION and if dm-integrity module is not loaded, cryptsetup will not detect that it can use the "fix_padding" option. Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
8.7 KiB
8.7 KiB