]> git.ipfire.org Git - thirdparty/u-boot.git/commit
fs: Fix issue with finding files in FAT32 partition
authorSiva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com>
Mon, 19 Nov 2018 10:58:55 +0000 (16:28 +0530)
committerMichal Simek <michal.simek@xilinx.com>
Mon, 19 Nov 2018 11:52:30 +0000 (12:52 +0100)
commitd8fc4b3b70bccf1577dab69f6ddfd4ada9a93bac
tree18a32b13a2204f0b532dfc71b313a0aaaa195e33
parent8ff2ccd342aa31d10cfb914b636e5f212ee25afd
fs: Fix issue with finding files in FAT32 partition

This patch reverts the below commits which were actually revert
to upstream patches. The earlier reverts were peformed for fixing
the FAT16 issue in u-boot. But, with those previous reverts,
the actual and most used FAT32 was broken. The issue is that
u-boot is not able to find all files present in partition, it can
only be able to find few files in partition.
So, this patch workarounds this by reverting the below
commits.

Revert "fat/fs: convert to directory iterators"
(sha1: 9681876a0dc3ca4812714c715c7df7f54460068c)
Revert "fat/fs: move ls to generic implementation"
(sha1: 57bade54516ca9f99cd1118316fa759b1ffe151f)
Revert "fs/fat: fix case for FAT shortnames"
(sha1: f975d9c5c1f992751573d8928f18bc750499c978)

Signed-off-by: Siva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
fs/fat/fat.c
fs/fat/fat_write.c
fs/fs.c
include/fat.h