[2284] 2009-06-09 Robert Millan <[email protected]>

Robert Millan <[email protected]>
Newsgroups gmane.comp.boot-loaders.grub.cvs
Message-ID <[email protected]>
Revision: 2284
          http://svn.sv.gnu.org/viewvc/?view=rev&root=grub&revision=2284
Author:   robertmh
Date:     2009-06-09 14:42:37 +0000 (Tue, 09 Jun 2009)
Log Message:
-----------
2009-06-09  Robert Millan  <[email protected]>

        * util/deviceiter.c (grub_util_iterate_devices): Increase number of
        disk limit to 26 for IDE, Virtio, Xen and SCSI.

Modified Paths:
--------------
    trunk/grub2/ChangeLog
    trunk/grub2/util/deviceiter.c

Modified: trunk/grub2/ChangeLog
===================================================================
--- trunk/grub2/ChangeLog	2009-06-09 13:22:31 UTC (rev 2283)
+++ trunk/grub2/ChangeLog	2009-06-09 14:42:37 UTC (rev 2284)
@@ -1,3 +1,8 @@
+2009-06-09  Robert Millan  <[email protected]>
+
+	* 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  <[email protected]>
 
 	* util/i386/pc/grub-install.in: Change the error message if UUIDs

Modified: trunk/grub2/util/deviceiter.c
===================================================================
--- trunk/grub2/util/deviceiter.c	2009-06-09 13:22:31 UTC (rev 2283)
+++ trunk/grub2/util/deviceiter.c	2009-06-09 14:42:37 UTC (rev 2284)
@@ -454,7 +454,7 @@
 #endif /* __linux__ */
 
   /* IDE disks.  */
-  for (i = 0; i < 20; i++)
+  for (i = 0; i < 26; i++)
     {
       char name[16];
 
@@ -468,7 +468,7 @@
 
 #ifdef __linux__
   /* Virtio disks.  */
-  for (i = 0; i < 20; i++)
+  for (i = 0; i < 26; i++)
     {
       char name[16];
 
@@ -494,7 +494,7 @@
     }
 
   /* Xen virtual block devices.  */
-  for (i = 0; i < 16; i++)
+  for (i = 0; i < 26; i++)
     {
       char name[16];
 
@@ -508,7 +508,7 @@
 #endif /* __linux__ */
 
   /* The rest is SCSI disks.  */
-  for (i = 0; i < 16; i++)
+  for (i = 0; i < 26; i++)
     {
       char name[16];
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.