Rockbox mail archive
Subject: Re: error in disk write code
From: Linus Nielsen Feltzing (linus_at_haxx.se)
Greg Haerr wrote:
> I have fixed the problem. The cache_fat_sector code is
> incorrect. When the hash FAT cache entry is inuse and dirty,
> but required by a new FAT hash, the cache_fat_sector
> code writes out the first FAT entry using the NEW sector
> number, rather than the cached sector value. To fix change the line:
Good catch! Thanks!
I have committed the fix to CVS.
Page was last modified "Jan 10 2012" The Rockbox Crew