mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 18:15:11 +00:00
[DISK] Disable IsFloppyDevice check.
It wrongly marks USB flash drives as a floppy device
This commit is contained in:
parent
b7de5870e6
commit
fa530aee92
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue