mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-22 15:22:39 +00:00
* grub-core/kern/fs.c (grub_fs_probe): Handle GRUB_ERR_OUT_OF_RANGE as
a bad FS.
This commit is contained in:
1 parent
def3df7520
commit
bfb320c644
2 files changed
+7
-1
No files matched your search
@@ -1,3 +1,8 @@
|
|||||||
|
2012-05-12 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-12 Vladimir Serbinenko <phcoder@gmail.com>
|
2012-05-12 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
* grub-core/fs/udf.c (read_string): Bail out on size=0.
|
* grub-core/fs/udf.c (read_string): Bail out on size=0.
|
||||||
|
|||||||
+2
-1
@@ -77,7 +77,8 @@ grub_fs_probe (grub_device_t device)
|
|||||||
grub_dprintf ("fs", "%s detection failed.\n", p->name);
|
grub_dprintf ("fs", "%s detection failed.\n", p->name);
|
||||||
grub_error_pop ();
|
grub_error_pop ();
|
||||||
|
|
||||||
if (grub_errno != GRUB_ERR_BAD_FS)
|
if (grub_errno != GRUB_ERR_BAD_FS
|
||||||
|
&& grub_errno != GRUB_ERR_OUT_OF_RANGE)
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
grub_errno = GRUB_ERR_NONE;
|
grub_errno = GRUB_ERR_NONE;
|
||||||
|
|||||||
Reference in new issue
Block a user