for unused array numbers.
Reported and tested by: maru.
+2010-07-22 Colin Watson <cjwatson@ubuntu.com>
+
+ * disk/raid.c (insert_array): Don't count named arrays when looking
+ for unused array numbers.
+ Reported and tested by: maru.
+
2010-07-20 Colin Watson <cjwatson@ubuntu.com>
* bus/usb/emu/usb.c (grub_usb_poll_devices): Add a dummy
/* Check whether we don't have multiple arrays with the same number. */
for (p = array_list; p != NULL; p = p->next)
{
- if (p->number == array->number)
+ if (! p->name && p->number == array->number)
break;
}
{
for (p = array_list; p != NULL; p = p->next)
{
- if (p->number == i)
+ if (! p->name && p->number == i)
break;
}