Author: quozl Date: Tue Apr 9 05:48:45 2013 New Revision: 3638 URL: http://tracker.coreboot.org/trac/openfirmware/changeset/3638
Log: fatfs, skip volume label directory entries, some filesystem instances have them and they remain after repair.
Modified: ofw/fs/fatfs/lookup.fth
Modified: ofw/fs/fatfs/lookup.fth ============================================================================== --- ofw/fs/fatfs/lookup.fth Tue Apr 9 05:44:57 2013 (r3637) +++ ofw/fs/fatfs/lookup.fth Tue Apr 9 05:48:45 2013 (r3638) @@ -238,7 +238,9 @@ \ Set the directory entry address; exit if set-dirent fails search-offset @ search-cl @ search-dev @ set-dirent if 2 exit then
- de_attributes c@ h# f = if 0 exit then + de_attributes c@ h# f = if 0 exit then \ ignore a VFAT long file name + + de_attributes c@ at_vollab and if 0 exit then \ ignore a volume label
de_name c@ case 0 of 1 endof \ No more valid entries