grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] handle/report errors set by grub_device_iterate()


From: Robert Millan
Subject: Re: [PATCH] handle/report errors set by grub_device_iterate()
Date: Sat, 16 Aug 2008 14:51:47 +0200
User-agent: Mutt/1.5.13 (2006-08-11)

Committed.  Same for disk/lvm.c as well.

On Thu, Aug 14, 2008 at 09:13:52PM +0200, Robert Millan wrote:
> 
> Hi,
> 
> After Felix's grub_print_error() fix, it is now possible to handle and
> report errors properly in raid.  This patch enables that.
> 
> -- 
> Robert Millan
> 
>   The DRM opt-in fallacy: "Your data belongs to us. We will decide when (and
>   how) you may access your data; but nobody's threatening your freedom: we
>   still allow you to remove your data and not access it at all."

> 2008-08-14  Robert Millan  <address@hidden>
> 
>       * disk/raid.c (grub_raid_init): Handle/report errors set by
>       grub_device_iterate().
> 
> Index: disk/raid.c
> ===================================================================
> --- disk/raid.c       (revision 1806)
> +++ disk/raid.c       (working copy)
> @@ -580,6 +580,12 @@ static struct grub_disk_dev grub_raid_de
>  GRUB_MOD_INIT(raid)
>  {
>    grub_device_iterate (&grub_raid_scan_device);
> +  if (grub_errno)
> +    {
> +      grub_print_error ();
> +      grub_errno = GRUB_ERR_NONE;
> +    }
> +
>    grub_disk_dev_register (&grub_raid_dev);
>  }
>  

> _______________________________________________
> Grub-devel mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/grub-devel


-- 
Robert Millan

  The DRM opt-in fallacy: "Your data belongs to us. We will decide when (and
  how) you may access your data; but nobody's threatening your freedom: we
  still allow you to remove your data and not access it at all."




reply via email to

[Prev in Thread] Current Thread [Next in Thread]