fat: reset VFAT short alias checksum on first match
authorSergei Shtylyov <sshtylyov@ru.mvista.com>
Mon, 2 Jan 2012 06:54:29 +0000 (06:54 +0000)
committerWolfgang Denk <wd@denx.de>
Thu, 5 Jan 2012 15:03:24 +0000 (16:03 +0100)
commitbf34e7d952939b1d4289ef62e7d940fbd227c72a
tree78c23268d09160bd02e6f03bb656880fcc276e90
parent2620368a61962db528932aab5d979f333a90908b
fat: reset VFAT short alias checksum on first match

The VFAT short alias checksum read from a long file name is only overwritten
when another long file name appears in a directory list. Until then it renders
short file names invisible that have the same checksum. Reset the checksum on
first match.

Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Martin Mueller <martin.mueller5@de.bosch.com>
fs/fat/fat.c