From 87b8f28cc11723a8a2b1210bb0b16ab0ff9e918f Mon Sep 17 00:00:00 2001 From: robertmh Date: Tue, 9 Jun 2009 14:42:37 +0000 Subject: [PATCH] 2009-06-09 Robert Millan * util/deviceiter.c (grub_util_iterate_devices): Increase number of disk limit to 26 for IDE, Virtio, Xen and SCSI. --- ChangeLog | 5 +++++ util/deviceiter.c | 8 ++++---- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 5262635b5..64328ce90 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2009-06-09 Robert Millan + + * util/deviceiter.c (grub_util_iterate_devices): Increase number of + disk limit to 26 for IDE, Virtio, Xen and SCSI. + 2009-06-09 Felix Zielcke * util/i386/pc/grub-install.in: Change the error message if UUIDs diff --git a/util/deviceiter.c b/util/deviceiter.c index b78b6a0d9..6443afa5e 100644 --- a/util/deviceiter.c +++ b/util/deviceiter.c @@ -454,7 +454,7 @@ grub_util_iterate_devices (int NESTED_FUNC_ATTR (*hook) (const char *, int), #endif /* __linux__ */ /* IDE disks. */ - for (i = 0; i < 20; i++) + for (i = 0; i < 26; i++) { char name[16]; @@ -468,7 +468,7 @@ grub_util_iterate_devices (int NESTED_FUNC_ATTR (*hook) (const char *, int), #ifdef __linux__ /* Virtio disks. */ - for (i = 0; i < 20; i++) + for (i = 0; i < 26; i++) { char name[16]; @@ -494,7 +494,7 @@ grub_util_iterate_devices (int NESTED_FUNC_ATTR (*hook) (const char *, int), } /* Xen virtual block devices. */ - for (i = 0; i < 16; i++) + for (i = 0; i < 26; i++) { char name[16]; @@ -508,7 +508,7 @@ grub_util_iterate_devices (int NESTED_FUNC_ATTR (*hook) (const char *, int), #endif /* __linux__ */ /* The rest is SCSI disks. */ - for (i = 0; i < 16; i++) + for (i = 0; i < 26; i++) { char name[16];