mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-24 16:19:22 +00:00
Fixed another num_clust related bug: The boundary between FAT12 / FAT16
See MS Knowledge Base Article Q65541
This commit is contained in:
1 parent
436fb5ce95
commit
eef046d8a5
2 files changed
+3
-2
No files matched your search
+1
-1
@@ -124,7 +124,7 @@ fat_mount (void)
|
||||
return 0;
|
||||
|
||||
FAT_SUPER->root_cluster = -1;
|
||||
if (FAT_SUPER->num_clust > FAT_MAX_12BIT_CLUST)
|
||||
if (FAT_SUPER->num_clust >= FAT_MAX_12BIT_CLUST)
|
||||
FAT_SUPER->fat_size = 4;
|
||||
else
|
||||
FAT_SUPER->fat_size = 3;
|
||||
|
||||
Reference in new issue
Block a user