On Mon, May 28, 2007 at 03:42:51AM +0100, Sam Morris wrote:
> 
> A partial patch was suggested which solves the issue for now:
> 
> Index: disk/raid.c
> ===================================================================
> RCS file: /cvsroot/grub/grub2/disk/raid.c,v
> retrieving revision 1.3
> diff -u -p -r1.3 raid.c
> - --- disk/raid.c     17 May 2007 23:23:03 -0000      1.3
> +++ disk/raid.c       21 May 2007 13:10:25 -0000
> @@ -344,7 +344,10 @@ grub_raid_scan_device (const char *name)
>    err = grub_disk_read (disk, sector, 0, GRUB_RAID_SB_BYTES, (char *) &sb);
>    grub_disk_close (disk);
>    if (err)
> - -    return 0;
> +    {
> +      grub_errno = GRUB_ERR_NONE;
> +      return 0;
> +    }
>  
>    /* Look whether there is a RAID superblock. */
>    if (sb.md_magic != GRUB_RAID_SB_MAGIC)

Did you confirm this works?  Has it been committed to upstream CVS?

-- 
Robert Millan

My spam trap is [EMAIL PROTECTED]  Note: this address is only intended
for spam harvesters.  Writing to it will get you added to my black list.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to