[coreboot] FILO patch for fast link bug

ron minnich rminnich at gmail.com
Tue Aug 19 18:34:46 CEST 2008


On Tue, Aug 19, 2008 at 2:17 AM, Wang, Qingpei <Qingpei.Wang at amd.com> wrote:
> Hi all
>        The attach file is used to fix the fast link bug in filo.
> And now it can boot linux.
>
>
> --- filo-0.5/fs/fsys_ext2fs.c   2005-11-15 17:37:30.000000000 +0800
> +++ filo-0.5-new/fs/fsys_ext2fs.c       2008-08-19 13:08:12.000000000
> +0800
> @@ -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);
>


This is in my latest SVN for filo.

I am attaching my other diffs.

ron
-------------- next part --------------
A non-text attachment was scrubbed...
Name: filo.diff
Type: application/octet-stream
Size: 3684 bytes
Desc: not available
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20080819/a99add4f/attachment.obj>


More information about the coreboot mailing list