]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
2008-07-28 Robert Millan <rmh@aybabtu.com>
authorrobertmh <robertmh@localhost>
Mon, 28 Jul 2008 09:25:37 +0000 (09:25 +0000)
committerrobertmh <robertmh@localhost>
Mon, 28 Jul 2008 09:25:37 +0000 (09:25 +0000)
        * disk/raid.c (grub_raid_scan_device): Do not abort when two disks
        with the same number are found, just use issue a warning with
        grub_dprintf(), as this error has been reported to be non-fatal.

ChangeLog
disk/raid.c

index f28b1455afa5177d35fdbb361c258c29e97c1f55..02665d09bb4500e45c7622d52f5feae86127db72 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2008-07-28  Robert Millan  <rmh@aybabtu.com>
+
+       * disk/raid.c (grub_raid_scan_device): Do not abort when two disks
+       with the same number are found, just use issue a warning with
+       grub_dprintf(), as this error has been reported to be non-fatal.
+       
 2008-07-27  Robert Millan  <rmh@aybabtu.com>
 
        * disk/ata.c (grub_ata_dumpinfo): Use grub_dprintf() for debugging
index a484fcf89635607264c48bb3a878e832b68bb7e0..731bf1f43096a89051e4a1569a12d51969ff356f 100644 (file)
@@ -442,16 +442,10 @@ grub_raid_scan_device (const char *name)
        }
   
       if (array->device[sb.this_disk.number] != NULL)
-       {
-         /* We found multiple devices with the same number. Again,
-            this shouldn't happen.*/
-
-         grub_error (GRUB_ERR_BAD_NUMBER,
-                     "Found two disks with the number %d?!?",
+       /* We found multiple devices with the same number. Again,
+          this shouldn't happen.*/
+       grub_dprintf ("raid", "Found two disks with the number %d?!?",
                      sb.this_disk.number);
-
-         return 0;
-       }
     }
 
   /* Add an array to the list if we didn't find any.  */