* grub-core/fs/fat.c (grub_fat_mount) [!MODE_EXFAT]: Remove fstype

check as some mkfs implementations omit it.
This commit is contained in:
Vladimir 'phcoder' Serbinenko committed 2012-01-31 23:26:07 +01:00
1 parent fc694106da
commit b1d51f028b
2 files changed
+5 -5

No files matched your search

+5
View File
@@ -1,3 +1,8 @@
2012-01-31 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/fs/fat.c (grub_fat_mount) [!MODE_EXFAT]: Remove fstype
check as some mkfs implementations omit it.
2012-01-31 Vladimir Serbinenko <phcoder@gmail.com>
* docs/grub.texi (Unicode): Mention identifier and space limitations.
-5
View File
@@ -244,11 +244,6 @@ grub_fat_mount (grub_disk_t disk)
if (grub_memcmp ((const char *) bpb.oem_name, "EXFAT ",
sizeof (bpb.oem_name)) != 0)
goto fail;
#else
if (grub_strncmp((const char *) bpb.version_specific.fat12_or_fat16.fstype, "FAT12", 5)
&& grub_strncmp((const char *) bpb.version_specific.fat12_or_fat16.fstype, "FAT16", 5)
&& grub_strncmp((const char *) bpb.version_specific.fat32.fstype, "FAT32", 5))
goto fail;
#endif
/* Get the sizes of logical sectors and clusters. */