* 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
|
@ -1,3 +1,9 @@
|
||||||
|
2011-01-10 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
|
* grub-core/fs/btrfs.c (grub_btrfs_mount): Transform out of range into
|
||||||
|
badfs.
|
||||||
|
Reported by: TiCPU.
|
||||||
|
|
||||||
2011-01-10 Vladimir Serbinenko <phcoder@gmail.com>
|
2011-01-10 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
* grub-core/disk/raid.c (insert_array): Display RAID name in duplicate
|
* grub-core/disk/raid.c (insert_array): Display RAID name in duplicate
|
||||||
|
|
|
@ -60,6 +60,9 @@ grub_btrfs_mount (grub_disk_t disk)
|
||||||
return data;
|
return data;
|
||||||
|
|
||||||
fail:
|
fail:
|
||||||
|
if (grub_errno == GRUB_ERR_OUT_OF_RANGE)
|
||||||
|
grub_error (GRUB_ERR_BAD_FS, "not a Btrfs filesystem");
|
||||||
|
|
||||||
grub_free (data);
|
grub_free (data);
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue