* 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 2012-01-31 23:26:07 +01:00
parent fc694106da
commit b1d51f028b
2 changed files with 5 additions and 5 deletions

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> 2012-01-31 Vladimir Serbinenko <phcoder@gmail.com>
* docs/grub.texi (Unicode): Mention identifier and space limitations. * docs/grub.texi (Unicode): Mention identifier and space limitations.

View file

@ -244,11 +244,6 @@ grub_fat_mount (grub_disk_t disk)
if (grub_memcmp ((const char *) bpb.oem_name, "EXFAT ", if (grub_memcmp ((const char *) bpb.oem_name, "EXFAT ",
sizeof (bpb.oem_name)) != 0) sizeof (bpb.oem_name)) != 0)
goto fail; 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 #endif
/* Get the sizes of logical sectors and clusters. */ /* Get the sizes of logical sectors and clusters. */