[openfirmware] [commit] r2874 - ofw/fs/fatfs

repository service svn at openfirmware.info
Thu Feb 23 22:56:37 CET 2012


Author: quozl
Date: Thu Feb 23 22:56:36 2012
New Revision: 2874
URL: http://tracker.coreboot.org/trac/openfirmware/changeset/2874

Log:
fatfs - mask out reserved bits of FAT entry.  (Some filesystems were found with these bits set, midway through the cluster chain, which resulted in early short read after a number of bytes less than the size of the file.)

Modified:
   ofw/fs/fatfs/fat.fth

Modified: ofw/fs/fatfs/fat.fth
==============================================================================
--- ofw/fs/fatfs/fat.fth	Thu Feb 23 04:20:16 2012	(r2873)
+++ ofw/fs/fatfs/fat.fth	Thu Feb 23 22:56:36 2012	(r2874)
@@ -105,7 +105,7 @@
          swap wa+ lew@
       endof
       fat32  of
-         swap la+ lel@
+         swap la+ lel@  h# 0fff.ffff and
       endof
    endcase
 ;



More information about the openfirmware mailing list