u-boot/fs/fat
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
..
fat.c fs: fat: check for buffer size before reading blocks 2021-10-12 16:49:21 -04:00
fat_write.c fs: fat: remove trailing periods from long name 2021-02-03 11:41:02 +01:00
Kconfig fs: FAT: Fix typo in FS_FAT_MAX_CLUSTSIZE description 2018-01-22 16:43:31 -05:00
Makefile spl: fat/fs: Add option to include/exclude FAT write build in SPL 2019-02-01 09:12:48 -05:00