* grub-core/fs/btrfs.c (grub_btrfs_mount): Transform out of range into
badfs. Reported by: TiCPU.
This commit is contained in:
parent
cf0eaf13a1
commit
b1969b3049
2 changed files with 9 additions and 0 deletions
|
@ -60,6 +60,9 @@ grub_btrfs_mount (grub_disk_t disk)
|
|||
return data;
|
||||
|
||||
fail:
|
||||
if (grub_errno == GRUB_ERR_OUT_OF_RANGE)
|
||||
grub_error (GRUB_ERR_BAD_FS, "not a Btrfs filesystem");
|
||||
|
||||
grub_free (data);
|
||||
return NULL;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue