]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
* grub-core/kern/emu/hostdisk.c (grub_util_biosdisk_iterate): Skip with
authorVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Tue, 16 Aug 2011 21:12:20 +0000 (23:12 +0200)
committerVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Tue, 16 Aug 2011 21:12:20 +0000 (23:12 +0200)
non-zero pull.

ChangeLog
grub-core/kern/emu/hostdisk.c

index c414d79e76b834c26b4c17736aba276bb5c2e8dc..946dcbd80298ebac2932ab3b8422d86a7152ee94 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2011-08-16  Vladimir Serbinenko  <phcoder@gmail.com>
+
+       * grub-core/kern/emu/hostdisk.c (grub_util_biosdisk_iterate): Skip with
+       non-zero pull.
+
 2011-08-16  Vladimir Serbinenko  <phcoder@gmail.com>
 
        * grub-core/fs/jfs.c (grub_jfs_read_file): New parameter ino.
index d1f76b28cbe9aed3e46ad19d0b500292059a463a..000ef2f799e5e55ea6567453191213bdc5319299 100644 (file)
@@ -217,6 +217,9 @@ grub_util_biosdisk_iterate (int (*hook) (const char *name),
 {
   unsigned i;
 
+  if (pull != GRUB_DISK_PULL_NONE)
+    return 0;
+
   for (i = 0; i < sizeof (map) / sizeof (map[0]); i++)
     if (map[i].drive && hook (map[i].drive))
       return 1;