summaryrefslogtreecommitdiff
path: root/fs/ext2
diff options
context:
space:
mode:
authorSergei Shtylyov <sshtylyov@ru.mvista.com>2011-08-08 09:39:29 +0000
committerWolfgang Denk <wd@denx.de>2011-10-01 21:51:23 +0200
commit60b36f0fc7c77e98b9d55c237e455c42a1caa44b (patch)
tree2427ebadc4ad1964c7d45a1ea3383910dcd5db40 /fs/ext2
parentac4977719e157bcb3c45c70d9dd781164727530d (diff)
downloadu-boot-imx-60b36f0fc7c77e98b9d55c237e455c42a1caa44b.zip
u-boot-imx-60b36f0fc7c77e98b9d55c237e455c42a1caa44b.tar.gz
u-boot-imx-60b36f0fc7c77e98b9d55c237e455c42a1caa44b.tar.bz2
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>
Diffstat (limited to 'fs/ext2')
0 files changed, 0 insertions, 0 deletions