Author: stepan
Date: 2008-08-19 13:12:03 +0200 (Tue, 19 Aug 2008)
New Revision: 53

Modified:
   trunk/filo-0.5/fs/fsys_ext2fs.c
Log:
fix the fast link bug in filo. Thank you to Jason Wang



Modified: trunk/filo-0.5/fs/fsys_ext2fs.c
===================================================================
--- trunk/filo-0.5/fs/fsys_ext2fs.c     2008-08-04 21:14:40 UTC (rev 52)
+++ trunk/filo-0.5/fs/fsys_ext2fs.c     2008-08-19 11:12:03 UTC (rev 53)
@@ -618,7 +618,7 @@
          linkbuf[filemax + len] = '\0';
 
          /* Read the symlink data. */
-         if (INODE->i_blocks)
+         if (INODE->i_size>0x3C)
            {
              /* Read the necessary blocks, and reset the file pointer. */
              len = grub_read (linkbuf, filemax);


--
coreboot mailing list
[email protected]
http://www.coreboot.org/mailman/listinfo/coreboot

Reply via email to