dll,sys: FSP_CFG_REJECT_EARLY_IRP

Includes Avast fix for FUSE.
This commit is contained in:
Bill Zissimopoulos
2020-02-07 15:11:24 -08:00
parent 91c36b8f09
commit 71995a1fcd
7 changed files with 17 additions and 9 deletions

View File

@ -273,10 +273,12 @@ static DWORD WINAPI FspFileSystemDispatcherThread(PVOID FileSystem0)
OperationContext.Response = Response;
TlsSetValue(FspFileSystemTlsKey, &OperationContext);
#if defined(FSP_CFG_REJECT_EARLY_IRP)
Result = FspFsctlTransact(FileSystem->VolumeHandle, 0, 0, 0, 0, FALSE);
/* send a Transact0 to inform the FSD that the dispatcher is ready */
if (!NT_SUCCESS(Result))
goto exit;
#endif
memset(Response, 0, sizeof *Response);
for (;;)