mirror of
https://github.com/reactos/reactos.git
synced 2024-06-30 09:50:07 +00:00
[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:
parent
a8410e8c47
commit
364edfc021
|
@ -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;
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue