mirror of
https://gitlab.com/cryptsetup/cryptsetup.git
synced 2025-12-05 16:00:05 +01:00
When activating dm-integrity device underneath dm-crypt with LUKS2 authenticated encryption mode, annotate the device correctly with CRYPT_SUBDEV prefix. This will help us to clearly identify dependent device underneath LUKS2 top level device and we can unify the deactivation code in future releases. We have general code deactivating dependent devices already for LUKS2 reencrytion. Deactivating newly created devices with pre 2.8.0 cryptsetup will issue warning about missing devices but the deactivation will succeed.