Home
last modified time | relevance | path

Searched hist:"40 e219165bcdf450cc69976fa129f2ef9889973a" (Results 1 – 1 of 1) sorted by relevance

/rk3399_rockchip-uboot/fs/fat/
H A Dfat.c40e219165bcdf450cc69976fa129f2ef9889973a Fri Aug 19 09:32:34 UTC 2011 Sergei Shtylyov <sshtylyov@ru.mvista.com> fat: root directory cluster only makes sense for FAT32

The root directory cluster field only exists in a FAT32 boot sector, so the
'root_cluster' variable in do_fat_read() contains garbage in case of FAT12/16.
Make it contain 0 instead as this is what is passed to get_vfatname() in that
case anyway.

Signed-off-by: Sergei Shtylyov <sshtylyov@mvista.com>