From: Namjae Jeon Date: Wed, 17 Aug 2011 10:10:09 +0000 (+0900) Subject: fat: fat16 support maximum 4GB file/vol size as WinXP or 7. X-Git-Tag: v3.1-rc3~17^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=710d4403a45c4040a9aa86971d50958f5ae6ed40;p=pandora-kernel.git fat: fat16 support maximum 4GB file/vol size as WinXP or 7. FAT16 support maximum 4GB vol/file size with 64KB cluster size. Win NT/XP/7 increased the maximum cluster size to 64KB, and file/vol size increased 4GB also. Although increasing, the file size of linux FAT is still limited at 2GB. I found that it is limited by sb->maxbytes(0x7fffffff) when partition is formatted by FAT16. sb->s_maxbytes in fill_super should be set to 0xffffffff like fat32. Signed-off-by: Namjae Jeon Signed-off-by: OGAWA Hirofumi --- Reading git-diff-tree failed