
18 Oct
2023
18 Oct
'23
2:31 p.m.
On Sat, 30 Sep 2023 16:42:46 -0400, Sean Anderson wrote:
This check breaks small partitions (under 1024 blocks) because part_length is in units of part.blksz and not bytes. Given the purpose of this function, we really want to make sure the partition is SUPERBLOCK_START + SUPERBLOCK_SIZE (2048) bytes so we can call ext4_read_superblock without error.
The obvious solution is to convert callers from things like
[...]
Applied to u-boot/master, thanks!
--
Tom