mirror of
https://github.com/bobranten/Ext4Fsd.git
synced 2025-10-29 13:18:30 -05:00
small cleanup
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user