* grub-core/kern/fs.c (grub_fs_probe): Handle GRUB_ERR_OUT_OF_RANGE as

a bad FS.
This commit is contained in:
Vladimir 'phcoder' Serbinenko 2012-05-21 22:02:56 +02:00
parent aa78f5c4e6
commit 4e46148696
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2012-05-21 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/kern/fs.c (grub_fs_probe): Handle GRUB_ERR_OUT_OF_RANGE as
a bad FS.
2012-05-18 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/fs/iso9660.c (grub_iso9660_iterate_dir): Mark plain

View file

@ -100,7 +100,8 @@ grub_fs_probe (grub_device_t device)
return p;
}
if (grub_errno != GRUB_ERR_BAD_FS)
if (grub_errno != GRUB_ERR_BAD_FS
&& grub_errno != GRUB_ERR_OUT_OF_RANGE)
{
count--;
return 0;