]> git.sur5r.net Git - u-boot/commit
fat write: Fixed a problem with the case of file names when writing files
authorJean-Jacques Hiblot <jjhiblot@ti.com>
Thu, 21 Dec 2017 11:49:47 +0000 (12:49 +0100)
committerTom Rini <trini@konsulko.com>
Wed, 10 Jan 2018 13:05:51 +0000 (08:05 -0500)
commit2c33b0c7d8deca7e9a907365a59fcbcde531c70d
tree80a512cb751f6782c08f2b82774cccba71a28659
parent75db00eea03d5b892c4e69ab17891fca968187d3
fat write: Fixed a problem with the case of file names when writing files

commit 21a24c3bf35b ("fs/fat: fix case for FAT shortnames") made it
possible that get_name() returns file names with some upper cases.
find_directory_entry() must be updated to take this account, and use
case-insensitive functions to compare file names.

Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com>
fs/fat/fat_write.c