fs/fat: Don't multiply fatsize with sector size
authorEgbert Eich <eich@suse.com>
Tue, 9 Apr 2013 21:11:55 +0000 (21:11 +0000)
committerTom Rini <trini@ti.com>
Wed, 1 May 2013 20:24:02 +0000 (16:24 -0400)
commitbc8d98713f10582f4e35b9208f1b967c6a9f9953
tree429f9e48d0f5dfc9529462d37396b9fae9377854
parentd7ea4d4d4c6ddd80ca246daf8383f7632c7db7ae
fs/fat: Don't multiply fatsize with sector size

Bugfix:
Here at this place we need the fat size in sectors not bytes.
This was found during code review when adding support for storage
devices with blocksizes != 512.

Signed-off-by: Egbert Eich <eich@suse.com>
fs/fat/fat_write.c