[SLOF] [PATCH] fat-files: Fix access to FAT32 dir/files when cluster >16-bits

Segher Boessenkool segher at kernel.crashing.org
Wed Jun 8 15:57:29 AEST 2016


On Wed, Jun 08, 2016 at 03:43:32PM +1000, Benjamin Herrenschmidt wrote:
> On FAT32, the directory entry contains a new field providing the
> top 16-bits of the cluster number. We didn't use it, thus reading
> the wrong sectors when trying to access files or directories
> beyond block 0x10000.
> 
> Signed-off-by: Benjamin Herrenschmidt <benh at kernel.crashing.org>

That looks good.  Why move the cr in .dir-entry though?


Segher


More information about the SLOF mailing list