[PATCH] fs: ext4: check the minimal partition size to mount
Tom Rini
trini at konsulko.com
Wed Mar 22 19:03:32 CET 2023
On Wed, Mar 08, 2023 at 09:49:54AM +0100, Patrick Delaunay wrote:
> No need to mount a too small partition to handle a EXT4 file system.
>
> This patch add a test on partition size before to read the
> SUPERBLOCK_SIZE buffer and avoid error latter in fs_devread() function.
>
> Signed-off-by: Patrick Delaunay <patrick.delaunay at foss.st.com>
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20230322/5930d38a/attachment.sig>
More information about the U-Boot
mailing list