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.
This commit is contained in:
parent
cd1df915ea
commit
93cce01644
2 changed files with 9 additions and 9 deletions
|
@ -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>
|
2008-07-27 Robert Millan <rmh@aybabtu.com>
|
||||||
|
|
||||||
* disk/ata.c (grub_ata_dumpinfo): Use grub_dprintf() for debugging
|
* disk/ata.c (grub_ata_dumpinfo): Use grub_dprintf() for debugging
|
||||||
|
|
12
disk/raid.c
12
disk/raid.c
|
@ -442,16 +442,10 @@ grub_raid_scan_device (const char *name)
|
||||||
}
|
}
|
||||||
|
|
||||||
if (array->device[sb.this_disk.number] != NULL)
|
if (array->device[sb.this_disk.number] != NULL)
|
||||||
{
|
/* We found multiple devices with the same number. Again,
|
||||||
/* We found multiple devices with the same number. Again,
|
this shouldn't happen.*/
|
||||||
this shouldn't happen.*/
|
grub_dprintf ("raid", "Found two disks with the number %d?!?",
|
||||||
|
|
||||||
grub_error (GRUB_ERR_BAD_NUMBER,
|
|
||||||
"Found two disks with the number %d?!?",
|
|
||||||
sb.this_disk.number);
|
sb.this_disk.number);
|
||||||
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Add an array to the list if we didn't find any. */
|
/* Add an array to the list if we didn't find any. */
|
||||||
|
|
Loading…
Reference in a new issue