diff --git a/Ext4Fsd/init.c b/Ext4Fsd/init.c index 5ad4615..fd25f4b 100644 --- a/Ext4Fsd/init.c +++ b/Ext4Fsd/init.c @@ -23,7 +23,6 @@ CHAR gVersion[] = EXT2FSD_VERSION; CHAR gTime[] = __TIME__; CHAR gDate[] = __DATE__; - /* DEFINITIONS ***********************************************************/ NTSTATUS @@ -180,7 +179,6 @@ Ext2RegistryQueryCallback( } } - return STATUS_SUCCESS; } @@ -265,7 +263,6 @@ Ext2QueryGlobalParameters(IN PUNICODE_STRING RegistryPath) QueryTable[i].QueryRoutine = Ext2RegistryQueryCallback; i++; - /* * 7 hidden suffix */ @@ -353,7 +350,6 @@ Ext2QueryRegistrySettings(IN PUNICODE_STRING RegistryPath) } Ext2Global->Codepage.AnsiName[CODEPAGE_MAXLEN - 1] = 0; - /* set global hidden prefix pattern */ if (wcslen(&Ext2Global->wHidingPrefix[0])) { UniName.Length = sizeof(WCHAR) * wcslen(&Ext2Global->wHidingPrefix[0]); @@ -377,7 +373,6 @@ Ext2QueryRegistrySettings(IN PUNICODE_STRING RegistryPath) } Ext2Global->sHidingPrefix[HIDINGPAT_LEN - 1] = 0; - /* set global hidden suffix pattern */ if (wcslen(&Ext2Global->wHidingSuffix[0])) { UniName.Length = sizeof(WCHAR) * wcslen(&Ext2Global->wHidingSuffix[0]); @@ -410,7 +405,6 @@ Ext2QueryRegistrySettings(IN PUNICODE_STRING RegistryPath) return TRUE; } - #define NLS_OEM_LEAD_BYTE_INFO (*NlsOemLeadByteInfo) #define FsRtlIsLeadDbcsCharacter(DBCS_CHAR) ( \ @@ -472,16 +466,12 @@ DriverEntry ( ASSERT(FIELD_OFFSET(EXT2_SUPER_BLOCK, s_magic) == 56); DbgPrint( - "Ext2Fsd --" -#ifdef _WIN2K_TARGET_ - " Win2k --" -#endif - " Version " + "Ext2Fsd -- Version " EXT2FSD_VERSION #if EXT2_DEBUG - " Checked" + " Debug" #else - " Free" + " Release" #endif " -- " __DATE__ " " @@ -640,8 +630,6 @@ DriverEntry ( FastIoDispatch->FastIoUnlockAllByKey = Ext2FastIoUnlockAllByKey; FastIoDispatch->FastIoQueryNetworkOpenInfo = Ext2FastIoQueryNetworkOpenInfo; - FastIoDispatch->AcquireForModWrite = Ext2AcquireFileForModWrite; - FastIoDispatch->ReleaseForModWrite = Ext2ReleaseFileForModWrite; FastIoDispatch->AcquireForModWrite = Ext2AcquireFileForModWrite; FastIoDispatch->ReleaseForModWrite = Ext2ReleaseFileForModWrite; FastIoDispatch->AcquireForCcFlush = Ext2AcquireFileForCcFlush; @@ -712,7 +700,6 @@ DriverEntry ( Ext2Global->CacheManagerNoOpCallbacks.AcquireForReadAhead = Ext2NoOpAcquire; Ext2Global->CacheManagerNoOpCallbacks.ReleaseFromReadAhead = Ext2NoOpRelease; - #ifndef _WIN2K_TARGET_ // // Initialize FS Filter callbacks