* util/deviceiter.c (grub_util_iterate_devices): Skip MD devices,
which we expect to be handled by upper layers.
This commit is contained in:
parent
29d7e783d2
commit
5357687a55
2 changed files with 8 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
2010-07-06 Colin Watson <cjwatson@ubuntu.com>
|
||||
|
||||
* util/deviceiter.c (grub_util_iterate_devices): Skip MD devices,
|
||||
which we expect to be handled by upper layers.
|
||||
|
||||
2010-07-06 BVK Chaitanya <bvk.groups@gmail.com>
|
||||
|
||||
* bus/usb/usbhub.c: #include time.h header.
|
||||
|
|
|
@ -523,6 +523,9 @@ grub_util_iterate_devices (int NESTED_FUNC_ATTR (*hook) (const char *, int),
|
|||
later. */
|
||||
if (strncmp (entry->d_name, "dm-", sizeof ("dm-") - 1) == 0)
|
||||
continue;
|
||||
/* Skip RAID entries; they are handled by upper layers. */
|
||||
if (strncmp (entry->d_name, "md-", sizeof ("md-") - 1) == 0)
|
||||
continue;
|
||||
if (names_len >= names_max)
|
||||
{
|
||||
names_max *= 2;
|
||||
|
|
Loading…
Reference in a new issue