mirror of
https://gitlab.com/cryptsetup/cryptsetup.git
synced 2025-12-13 11:50:10 +01:00
Shorten reencryption parameters debug message.
This commit is contained in:
@@ -873,8 +873,8 @@ static int _reenc_load(struct crypt_device *cd, struct luks2_hdr *hdr, struct lu
|
|||||||
if (!rh->alignment)
|
if (!rh->alignment)
|
||||||
return -EINVAL;
|
return -EINVAL;
|
||||||
|
|
||||||
log_dbg(cd, "Requested hotzone size: %" PRIu64 ", requested device size: %" PRIu64
|
log_dbg(cd, "Hotzone size: %" PRIu64 ", device size: %" PRIu64 ", alignment: %zu.",
|
||||||
", calculated alignment: %zu", params->max_hotzone_size << SECTOR_SHIFT,
|
params->max_hotzone_size << SECTOR_SHIFT,
|
||||||
params->device_size << SECTOR_SHIFT, rh->alignment);
|
params->device_size << SECTOR_SHIFT, rh->alignment);
|
||||||
|
|
||||||
if ((params->max_hotzone_size << SECTOR_SHIFT) % rh->alignment) {
|
if ((params->max_hotzone_size << SECTOR_SHIFT) % rh->alignment) {
|
||||||
|
|||||||
Reference in New Issue
Block a user