Fix reading FAT32 root dirs that span >1 cluster
authorNick Gasson <nick@nickg.me.uk>
Sat, 13 Nov 2010 18:57:35 +0000 (18:57 +0000)
committerSteve Sakoman <steve@sakoman.com>
Wed, 24 Nov 2010 14:29:56 +0000 (06:29 -0800)
commit16d9259cc980c7f3a3778431349dcbbf97a7ec82
treeaccb403c3f14d1d4797bb2262cce0c8bb8d4a765
parent1dac1a7c188e79edabe211ccaadf58cd83b278dc
Fix reading FAT32 root dirs that span >1 cluster

Unlike FAT12/16, FAT32 does not guarantee that root directories will
occupy consecutive clusters. To get each cluster after the first you
must access the FAT as with any other directory. This patch implements
this and bumps up the largest valid cluster number to support large
e.g. 64MB partitions.
fs/fat/fat.c