* grub-core/fs/btrfs.c (grub_btrfs_mount): Transform out of range into

badfs.
	Reported by: TiCPU.
This commit is contained in:
Vladimir 'phcoder' Serbinenko committed 2011-01-10 17:35:32 +01:00
1 parent cf0eaf13a1
commit b1969b3049
2 files changed
+9

No files matched your search

+6
View File
@@ -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>
* grub-core/disk/raid.c (insert_array): Display RAID name in duplicate
+3
View File
@@ -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;
}