mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
[CDFS] Addendum to 5429771b
, 6c733856
and 3c64b4cb
(r75579): When the CDFS driver is used as a fixed disk FS,
the type of device it should return must not be FILE_DEVICE_CD_ROM, but must be the actual underlying one! This fixes recognizing *removable* USB keys as disks and not CD-ROMs. CORE-13184
This commit is contained in:
parent
bf6b5e1ceb
commit
f488102c86
1 changed files with 4 additions and 0 deletions
|
@ -418,7 +418,11 @@ Return Value:
|
|||
//
|
||||
|
||||
Buffer->Characteristics = Vcb->TargetDeviceObject->Characteristics;
|
||||
#ifndef __REACTOS__
|
||||
Buffer->DeviceType = FILE_DEVICE_CD_ROM;
|
||||
#else
|
||||
Buffer->DeviceType = Vcb->TargetDeviceObject->DeviceType;
|
||||
#endif
|
||||
|
||||
//
|
||||
// Adjust the length variable
|
||||
|
|
Loading…
Reference in a new issue