* grub-core/disk/raid.c (insert_array): Add few potentially
useful grub_util_info. (grub_raid_register): Likewise.
This commit is contained in:
parent
56445fb2b4
commit
241e41f55c
2 changed files with 14 additions and 0 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
2011-03-30 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
|
* grub-core/disk/raid.c (insert_array): Add few potentially
|
||||||
|
useful grub_util_info.
|
||||||
|
(grub_raid_register): Likewise.
|
||||||
|
|
||||||
2011-03-30 Vladimir Serbinenko <phcoder@gmail.com>
|
2011-03-30 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
* grub-core/kern/emu/getroot.c (grub_util_get_grub_dev) [__linux__]:
|
* grub-core/kern/emu/getroot.c (grub_util_get_grub_dev) [__linux__]:
|
||||||
|
|
|
@ -638,6 +638,10 @@ insert_array (grub_disk_t disk, struct grub_raid_array *new_array,
|
||||||
|
|
||||||
grub_dprintf ("raid", "Found array %s (%s)\n", array->name,
|
grub_dprintf ("raid", "Found array %s (%s)\n", array->name,
|
||||||
scanner_name);
|
scanner_name);
|
||||||
|
#ifdef GRUB_UTIL
|
||||||
|
grub_util_info ("Found array %s (%s)", array->name,
|
||||||
|
scanner_name);
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Add our new array to the list. */
|
/* Add our new array to the list. */
|
||||||
array->next = array_list;
|
array->next = array_list;
|
||||||
|
@ -698,6 +702,10 @@ grub_raid_register (grub_raid_t raid)
|
||||||
|
|
||||||
grub_dprintf ("raid", "Scanning for %s RAID devices on disk %s\n",
|
grub_dprintf ("raid", "Scanning for %s RAID devices on disk %s\n",
|
||||||
grub_raid_list->name, name);
|
grub_raid_list->name, name);
|
||||||
|
#ifdef GRUB_UTIL
|
||||||
|
grub_util_info ("Scanning for %s RAID devices on disk %s",
|
||||||
|
grub_raid_list->name, name);
|
||||||
|
#endif
|
||||||
|
|
||||||
disk = grub_disk_open (name);
|
disk = grub_disk_open (name);
|
||||||
if (!disk)
|
if (!disk)
|
||||||
|
|
Loading…
Reference in a new issue