mirror of
https://github.com/winfsp/winfsp.git
synced 2025-07-03 09:22:57 -05:00
sys: FspAcquireCcFlush: improve/fix top level IRP handling
This commit is contained in:
@ -285,7 +285,7 @@ static NTSTATUS FspFsvolWriteNonCached(
|
||||
|
||||
/* if we are called by the lazy writer we must constrain writes */
|
||||
if (FlagOn(FspIrpTopFlags(Irp), FspFileNodeAcquireMain) && /* if TopLevelIrp has acquired Main */
|
||||
FileNode->LazyWriteThread == PsGetCurrentThread()) /* and this is a lazy writer thread */
|
||||
FileNode->Tls.LazyWriteThread == PsGetCurrentThread()) /* and this is a lazy writer thread */
|
||||
{
|
||||
ASSERT(PagingIo);
|
||||
ASSERT(FspTimeoutInfinity32 ==
|
||||
|
Reference in New Issue
Block a user