From f65919507d034bee311785f10cf8dd3a7ffb6e0d Mon Sep 17 00:00:00 2001 From: Aleksey Bragin Date: Thu, 11 Sep 2008 14:43:12 +0000 Subject: [PATCH] - Use a correct device type when creating volume device objects. svn path=/trunk/; revision=36137 --- reactos/drivers/filesystems/cdfs/fsctl.c | 3 +-- reactos/drivers/filesystems/fastfat/fsctl.c | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/reactos/drivers/filesystems/cdfs/fsctl.c b/reactos/drivers/filesystems/cdfs/fsctl.c index 0f1950c66fc..c44de0e2f19 100644 --- a/reactos/drivers/filesystems/cdfs/fsctl.c +++ b/reactos/drivers/filesystems/cdfs/fsctl.c @@ -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); diff --git a/reactos/drivers/filesystems/fastfat/fsctl.c b/reactos/drivers/filesystems/fastfat/fsctl.c index 0ecb51fcc54..26dbcb01b19 100644 --- a/reactos/drivers/filesystems/fastfat/fsctl.c +++ b/reactos/drivers/filesystems/fastfat/fsctl.c @@ -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);