u-boot/fs
Ricardo Salveti 41130eb893 fs: fat: check for buffer size before reading blocks
This patch optimizes the commit mentioned below by avoiding running
a set of commands which are useless in the case when
size < mydata->sect_size and sect_count would be 0.

Fixes: 5b3ddb17ba ("fs/fat/fat.c: Do not perform zero block reads if there are no blocks left")

Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
Co-developed-by: Oleksandr Suvorov <oleksandr.suvorov@foundries.io>
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@foundries.io>
2021-10-12 16:49:21 -04:00
..
btrfs btrfs: Use U-Boot API for decompression 2021-10-08 15:53:26 -04:00
cbfs cbfs: Check offset range when reading a file 2021-07-15 18:42:05 -04:00
cramfs common: Drop flash.h from common header 2020-05-18 14:53:28 -04:00
ext4 common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
fat fs: fat: check for buffer size before reading blocks 2021-10-12 16:49:21 -04:00
jffs2 WS cleanup: remove SPACE(s) followed by TAB 2021-09-30 09:08:16 -04:00
reiserfs common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
sandbox common: Drop part.h from common header 2020-05-18 17:33:33 -04:00
squashfs sqfs: Suppress the message about missing filesystem 2021-09-16 13:19:25 -04:00
ubifs WS cleanup: remove SPACE(s) followed by TAB 2021-09-30 09:08:16 -04:00
yaffs2 nand.h: Cleanup linux/mtd/rawnand.h usage 2021-10-06 09:16:23 -04:00
zfs common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
fs.c fs: avoid superfluous messages 2021-09-24 12:09:46 -04:00
fs_internal.c fs: convert error and debug messages to log 2020-09-06 21:21:41 +02:00
Kconfig fs/squashfs: new filesystem 2020-08-07 22:31:32 -04:00
Makefile fs/squashfs: new filesystem 2020-08-07 22:31:32 -04:00