mirror of
https://gitlab.com/cryptsetup/cryptsetup.git
synced 2025-12-13 03:40:05 +01:00
Workaround for dm-integrity kernel table bug.
Some kernels show invalid dm-integrity table if suberblock contains "recalculate" bit. We can workaround that by setting recalculate option in table (kernel uses bits from superblock anyway), so the table displayed is always correct. Fixes: #538
This commit is contained in:
@@ -91,7 +91,7 @@ int INTEGRITY_create_dmd_device(struct crypt_device *cd,
|
||||
struct volume_key *journal_crypt_key,
|
||||
struct volume_key *journal_mac_key,
|
||||
struct crypt_dm_active_device *dmd,
|
||||
uint32_t flags);
|
||||
uint32_t flags, uint32_t sb_flags);
|
||||
|
||||
int INTEGRITY_activate_dmd_device(struct crypt_device *cd,
|
||||
const char *name,
|
||||
|
||||
Reference in New Issue
Block a user