Skip to content
Commit 18aca667 authored by Patrick Delaunay's avatar Patrick Delaunay Committed by Tom Rini
Browse files

fs: ext4: check the minimal partition size to mount



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: default avatarPatrick Delaunay <patrick.delaunay@foss.st.com>
parent 3c3c1ce7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment