[FASTFAT]

[NTFS]
Thanks to r70746, now, drop our beloved fix/hack/whatever about non-initialized floppy disks.

svn path=/trunk/; revision=70748
This commit is contained in:
Pierre Schweitzer 2016-02-14 19:56:17 +00:00
parent a8410e8c47
commit 364edfc021
2 changed files with 0 additions and 14 deletions

View file

@ -121,16 +121,6 @@ VfatHasFileSystem(
*RecognizedFS = TRUE;
}
}
else if (DiskGeometry.MediaType == Unknown)
{
/*
* Floppy disk driver can return Unknown as media type if it
* doesn't know yet what floppy in the drive really is. This is
* perfectly correct to do under Windows.
*/
*RecognizedFS = TRUE;
DiskGeometry.BytesPerSector = 512;
}
else
{
*RecognizedFS = TRUE;

View file

@ -89,10 +89,6 @@ NtfsHasFileSystem(PDEVICE_OBJECT DeviceToMount)
return STATUS_UNRECOGNIZED_VOLUME;
}
}
else if (DiskGeometry.MediaType == Unknown)
{
DiskGeometry.BytesPerSector = 512;
}
DPRINT1("BytesPerSector: %lu\n", DiskGeometry.BytesPerSector);
BootSector = ExAllocatePoolWithTag(NonPagedPool,