Wrap some very long lines.

This commit is contained in:
Milan Broz
2022-10-01 22:33:44 +02:00
parent 9f8fe3da16
commit 82b56300cd
6 changed files with 69 additions and 31 deletions

View File

@@ -623,7 +623,10 @@ size_t device_optimal_encryption_sector_size(struct crypt_device *cd, struct dev
phys_block_size = device_block_phys_size_fd(fd);
close(fd);
if (device->block_size >= phys_block_size || phys_block_size <= SECTOR_SIZE || phys_block_size > MAX_SECTOR_SIZE || MISALIGNED(phys_block_size, device->block_size))
if (device->block_size >= phys_block_size ||
phys_block_size <= SECTOR_SIZE ||
phys_block_size > MAX_SECTOR_SIZE ||
MISALIGNED(phys_block_size, device->block_size))
return device->block_size;
return phys_block_size;