]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
* grub-core/fs/fat.c (grub_fat_mount) [!MODE_EXFAT]: Remove fstype
authorVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Tue, 31 Jan 2012 22:26:07 +0000 (23:26 +0100)
committerVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Tue, 31 Jan 2012 22:26:07 +0000 (23:26 +0100)
check as some mkfs implementations omit it.

ChangeLog
grub-core/fs/fat.c

index 9efd2c724e8873303d52f694e2d7ed983b9fc83d..d0c36a5350d9752f5e5730f10e65546b31e8d9b1 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
index 6adc95c37c029d7479a77d3c6b9ba2d3042f8819..64b07e6d8ba8386825ad6610b2804ed586033225 100644 (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.  */