mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 17:25:55 +00:00
- Use a correct device type when creating volume device objects.
svn path=/trunk/; revision=36137
This commit is contained in:
parent
37cea55dc6
commit
f65919507d
2 changed files with 2 additions and 3 deletions
|
@ -331,8 +331,7 @@ CdfsMountVolume(PDEVICE_OBJECT DeviceObject,
|
|||
Status = IoCreateDevice(CdfsGlobalData->DriverObject,
|
||||
sizeof(DEVICE_EXTENSION),
|
||||
NULL,
|
||||
FILE_DEVICE_FILE_SYSTEM,
|
||||
// FILE_DEVICE_DISK_FILE_SYSTEM,
|
||||
FILE_DEVICE_DISK_FILE_SYSTEM,
|
||||
0,
|
||||
FALSE,
|
||||
&NewDeviceObject);
|
||||
|
|
|
@ -422,7 +422,7 @@ VfatMount (PVFAT_IRP_CONTEXT IrpContext)
|
|||
Status = IoCreateDevice(VfatGlobalData->DriverObject,
|
||||
ROUND_UP(sizeof (DEVICE_EXTENSION), sizeof(ULONG)) + sizeof(HASHENTRY*) * HashTableSize,
|
||||
NULL,
|
||||
FILE_DEVICE_FILE_SYSTEM,
|
||||
FILE_DEVICE_DISK_FILE_SYSTEM,
|
||||
0,
|
||||
FALSE,
|
||||
&DeviceObject);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue