commit | 9905cae65e03335aefcb1ebfab5b7ee62d89f64e | [log] [tgz] |
---|---|---|
author | Patrick Delaunay <patrick.delaunay@foss.st.com> | Wed Mar 08 09:49:54 2023 +0100 |
committer | Tom Rini <trini@konsulko.com> | Wed Mar 22 12:51:14 2023 -0400 |
tree | adb43064bab63c63fc3a164866ff6de66bf5b918 | |
parent | a6992bf40d89e3147e319bdae01bf544a65092fc [diff] |
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: Patrick Delaunay <patrick.delaunay@foss.st.com>