diff --git a/ChangeLog b/ChangeLog index 9efd2c724..d0c36a535 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2012-01-31 Vladimir Serbinenko + + * grub-core/fs/fat.c (grub_fat_mount) [!MODE_EXFAT]: Remove fstype + check as some mkfs implementations omit it. + 2012-01-31 Vladimir Serbinenko * docs/grub.texi (Unicode): Mention identifier and space limitations. diff --git a/grub-core/fs/fat.c b/grub-core/fs/fat.c index 6adc95c37..64b07e6d8 100644 --- a/grub-core/fs/fat.c +++ b/grub-core/fs/fat.c @@ -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. */