[PATCH] Revert "fs: ext4: check the minimal partition size to mount"

Tom Rini trini at konsulko.com
Wed Oct 18 14:31:05 CEST 2023


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



More information about the U-Boot mailing list