- Use a correct device type when creating volume device objects.

svn path=/trunk/; revision=36137
This commit is contained in:
Aleksey Bragin 2008-09-11 14:43:12 +00:00
parent 37cea55dc6
commit f65919507d
2 changed files with 2 additions and 3 deletions

View file

@ -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);

View file

@ -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);