* grub-core/kern/emu/hostdisk.c (grub_util_biosdisk_iterate): Skip with

non-zero pull.
This commit is contained in:
Vladimir 'phcoder' Serbinenko 2011-08-16 23:12:20 +02:00
parent 43526629e5
commit 2bba8cfd55
2 changed files with 8 additions and 0 deletions

View file

@ -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.

View 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;