* COPYRIGHT: GNU GENERAL PUBLIC LICENSE VERSION 2
* PROJECT: ReiserFs file system driver for Windows NT/2000/XP/Vista.
* FILE: init.c
- * PURPOSE:
+ * PURPOSE:
* PROGRAMMER: Mark Piper, Matt Wu, Bo Brantén.
- * HOMEPAGE:
- * UPDATE HISTORY:
+ * HOMEPAGE:
+ * UPDATE HISTORY:
*/
/* INCLUDES *****************************************************************/
" " __DATE__ " " __TIME__
"\nCopyright (C) 1999-2015 Mark Piper, Matt Wu, Bo Branten.\n");
- RfsdPrint((DBG_FUNC, "Rfsd DriverEntry ...\n"));
+ RfsdPrint((DBG_FUNC, "Rfsd DriverEntry ...\n"));
RtlInitUnicodeString(&DeviceName, DEVICE_NAME);
-
+
Status = IoCreateDevice(
DriverObject,
sizeof(RFSDFS_EXT),
0,
FALSE,
&DeviceObject );
-
+
if (!NT_SUCCESS(Status)) {
RfsdPrint((DBG_ERROR, "IoCreateDevice fs object error.\n"));
return Status;
DeviceExt = (PRFSDFS_EXT) DeviceObject->DeviceExtension;
RtlZeroMemory(DeviceExt, sizeof(RFSDFS_EXT));
-
+
RfsdGlobal = &(DeviceExt->RfsdGlobal);
RfsdGlobal->Identifier.Type = RFSDFGD;
// Initialize the fast I/O entry points
//
FastIoDispatch = &(RfsdGlobal->FastIoDispatch);
-
+
FastIoDispatch->SizeOfFastIoDispatch = sizeof(FAST_IO_DISPATCH);
FastIoDispatch->FastIoCheckIfPossible = RfsdFastIoCheckIfPossible;
#if DBG