]> git.baikalelectronics.ru Git - uboot.git/commit
fs: fat: directory entries starting with 0x05
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Sat, 21 Nov 2020 11:34:20 +0000 (12:34 +0100)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Sun, 29 Nov 2020 04:18:16 +0000 (05:18 +0100)
commit9ba93e3216e6067d7b19761cd3f22b75da9db7ec
tree84e0ed19cd487b1cfb0001baccb648d5aaf8c22a
parent9faa2ce80bcc8cf4f863c01ec64bc90bef78372c
fs: fat: directory entries starting with 0x05

0x05 is used as replacement letter for 0xe5 at the first position of short
file names. We must not skip over directory entries starting with 0x05.

Cf. Microsoft FAT Specification, August 30 2005

Fixes: 11b6e07ff3a3 ("fs: fat: handle deleted directory entries correctly")
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: Christian Gmeiner <christian.gmeiner@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
fs/fat/fat.c