mirror of
https://github.com/reactos/reactos.git
synced 2026-05-23 07:40:09 +08:00
[DISK] Disable IsFloppyDevice check.
It wrongly marks USB flash drives as a floppy device
This commit is contained in:
@@ -969,12 +969,14 @@ Return Value:
|
||||
// IsFloppyDevice also checks for write cache enabled.
|
||||
//
|
||||
|
||||
#if 0
|
||||
if (IsFloppyDevice(deviceObject) && deviceObject->Characteristics & FILE_REMOVABLE_MEDIA &&
|
||||
(((PINQUIRYDATA)LunInfo->InquiryData)->DeviceType == DIRECT_ACCESS_DEVICE)) {
|
||||
|
||||
status = STATUS_NO_SUCH_DEVICE;
|
||||
goto CreateDiskDeviceObjectsExit;
|
||||
}
|
||||
#endif
|
||||
|
||||
DisableWriteCache(deviceObject,LunInfo);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user