u-boot/fs
Sean Anderson bfcf7521eb Revert "fs: ext4: check the minimal partition size to mount"
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

	ext4fs_mount(part_info.size)

to

	ext4fs_mount(part_info.size * part_info.blksz);

However, I'm not really a fan of the bloat that would cause, especially
since the error is now suppressed. I think the best course of action here
is to just revert the patch.

This reverts commit 9905cae65e.

Signed-off-by: Sean Anderson <seanga2@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
2023-10-17 20:50:52 -04:00
..
btrfs btrfs: fix some error checking for btrfs_decompress() 2023-08-08 17:41:52 -04:00
cbfs spl: Ensure all SPL symbols in Kconfig have some SPL dependency 2022-07-07 09:29:08 -04:00
cramfs cramfs: clean up some error messages 2023-08-08 17:41:52 -04:00
erofs fs/erofs: Quieten test for filesystem presence 2023-08-19 04:12:52 +02:00
ext4 Revert "fs: ext4: check the minimal partition size to mount" 2023-10-17 20:50:52 -04:00
fat part: Add accessors for struct disk_partition uuid 2023-08-25 17:55:18 -04:00
jffs2 fs: jffs2: Move SYS_JFFS2_SORT_FRAGMENTS to Kconfig 2022-11-10 09:45:54 -05:00
reiserfs common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
sandbox bootstd: Use bootdev instead of bootdevice 2023-07-16 23:13:17 +08:00
squashfs lib: zstd: update to latest Linux zstd 1.5.2 2023-01-18 19:04:17 -05:00
ubifs common: Drop linux/printk.h from common header 2023-09-24 09:54:57 -04:00
yaffs2 common: Drop linux/printk.h from common header 2023-09-24 09:54:57 -04:00
zfs common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
fs.c fs: Remove unused NEEDS_MANUAL_RELOC code bits 2023-09-14 10:42:24 -04:00
fs_internal.c fs: Quieten down the filesystems more 2022-10-17 21:17:12 -06:00
Kconfig bootstd: sandbox: Add a hostfs bootdev 2022-04-25 10:00:04 -04:00
Makefile fs: Add semihosting filesystem 2022-04-01 15:03:13 -04:00
semihostingfs.c semihosting: create file in smh_fs_write_at() 2023-05-31 17:23:01 -04:00