[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v9 1/6] luks2: Convert to crypt sectors from grub native sect
From: |
Daniel Kiper |
Subject: |
Re: [PATCH v9 1/6] luks2: Convert to crypt sectors from grub native sectors |
Date: |
Wed, 16 Dec 2020 13:11:53 +0100 |
User-agent: |
NeoMutt/20170113 (1.7.2) |
On Tue, Dec 15, 2020 at 05:31:06PM -0600, Glenn Washburn wrote:
> The function grub_disk_native_sectors(source) returns the number of sectors
> of source in grub native (512-byte) sectors, not source sized sectors. So
> the conversion needs to use GRUB_DISK_SECTOR_BITS. the grub native sector
> size.
>
> Signed-off-by: Glenn Washburn <development@efficientek.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
Daniel
- [PATCH v9 0/6] Cryptodisk fixes for v2.06 redux, Glenn Washburn, 2020/12/15
- [PATCH v9 1/6] luks2: Convert to crypt sectors from grub native sectors, Glenn Washburn, 2020/12/15
- Re: [PATCH v9 1/6] luks2: Convert to crypt sectors from grub native sectors,
Daniel Kiper <=
- [PATCH v9 2/6] luks2: Do not handle disks of size GRUB_DISK_SIZE_UNKNOWN for now, Glenn Washburn, 2020/12/15
- [PATCH v9 3/6] luks2: Better error handling when setting up the cryptodisk, Glenn Washburn, 2020/12/15
- [PATCH v9 4/6] mips: Enable __clzdi2(), Glenn Washburn, 2020/12/15
- [PATCH v9 5/6] misc: Add grub_log2ull macro for calculating log base 2 of 64-bit integers, Glenn Washburn, 2020/12/15
- [PATCH v9 6/6] luks2: Use grub_log2ull to calculate log_sector_size and improve readability, Glenn Washburn, 2020/12/15