Home
last modified time | relevance | path

Searched hist:"60 b36f0fc7c77e98b9d55c237e455c42a1caa44b" (Results 1 – 1 of 1) sorted by relevance

/rk3399_rockchip-uboot/fs/fat/
H A Dfat.c60b36f0fc7c77e98b9d55c237e455c42a1caa44b Mon Aug 08 09:39:29 UTC 2011 Sergei Shtylyov <sshtylyov@ru.mvista.com> fat: cannot compare bytes and sectors

The code multiples the FAT size in sectors by the sector size and then tries to
compare that to the number of sectors in the 'getsize' variable. While fixing
this, also change the initial value of 'getsize' as the division of FATBUFSIZE
by the sector size gets us FATBUFBLOCKS.

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