[CDFS]
authorPierre Schweitzer <pierre@reactos.org>
Fri, 1 May 2015 17:41:38 +0000 (17:41 +0000)
committerPierre Schweitzer <pierre@reactos.org>
Fri, 1 May 2015 17:41:38 +0000 (17:41 +0000)
Set SizeOfFastIoDispatch member

svn path=/trunk/; revision=67499

reactos/drivers/filesystems/cdfs/cdfs.c

index 9faa5a1..77dc734 100644 (file)
@@ -99,6 +99,7 @@ DriverEntry(PDRIVER_OBJECT DriverObject,
     DriverObject->MajorFunction[IRP_MJ_DEVICE_CONTROL] =
         CdfsDeviceControl;
 
     DriverObject->MajorFunction[IRP_MJ_DEVICE_CONTROL] =
         CdfsDeviceControl;
 
+    CdfsGlobalData->FastIoDispatch.SizeOfFastIoDispatch = sizeof(FAST_IO_DISPATCH);
     CdfsGlobalData->FastIoDispatch.FastIoRead = CdfsFastIoRead;
     CdfsGlobalData->FastIoDispatch.FastIoWrite = CdfsFastIoWrite;
     DriverObject->FastIoDispatch = &CdfsGlobalData->FastIoDispatch;
     CdfsGlobalData->FastIoDispatch.FastIoRead = CdfsFastIoRead;
     CdfsGlobalData->FastIoDispatch.FastIoWrite = CdfsFastIoWrite;
     DriverObject->FastIoDispatch = &CdfsGlobalData->FastIoDispatch;