From ba5d52e9a5e6228e66e0ce4043f0de46aced821f Mon Sep 17 00:00:00 2001 From: Bill Zissimopoulos Date: Mon, 9 Jan 2023 15:45:11 +0000 Subject: [PATCH] dll: FspFileSystemStartDispatcher: Send a Transact0 to inform the FSD that the dispatcher is almost ready. --- src/dll/fs.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/dll/fs.c b/src/dll/fs.c index 943ff670..976d952b 100644 --- a/src/dll/fs.c +++ b/src/dll/fs.c @@ -406,6 +406,11 @@ FSP_API NTSTATUS FspFileSystemStartDispatcher(FSP_FILE_SYSTEM *FileSystem, ULONG if (0 == FileSystem->DispatcherThread) return FspNtStatusFromWin32(GetLastError()); +#if defined(FSP_CFG_REJECT_EARLY_IRP) + FspFsctlTransact(FileSystem->VolumeHandle, 0, 0, 0, 0, FALSE); + /* send a Transact0 to inform the FSD that the dispatcher is _almost_ ready */ +#endif + return STATUS_SUCCESS; }