* grub-core/disk/raid.c (insert_array): Add few potentially

useful grub_util_info.
	(grub_raid_register): Likewise.
This commit is contained in:
Vladimir 'phcoder' Serbinenko 2011-03-30 16:54:11 +02:00
parent 56445fb2b4
commit 241e41f55c
2 changed files with 14 additions and 0 deletions

View file

@ -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>
* grub-core/kern/emu/getroot.c (grub_util_get_grub_dev) [__linux__]:

View file

@ -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,
scanner_name);
#ifdef GRUB_UTIL
grub_util_info ("Found array %s (%s)", array->name,
scanner_name);
#endif
/* Add our new array to the 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_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);
if (!disk)