- Don't call KeWaitForSingleObject here, as doing so can lock the thread in a wait if no one ever connects to it. Also the wait is handled in Kernel32.

svn path=/trunk/; revision=38638
This commit is contained in:
Michael Martin 2009-01-08 07:45:42 +00:00
parent 9e8a571c11
commit 373e0819fd

View file

@ -167,11 +167,8 @@ NpfsConnectPipe(PIRP Irp,
if (Flags & FO_SYNCHRONOUS_IO)
{
KeWaitForSingleObject(&Ccb->ConnectEvent,
UserRequest,
KernelMode,
FALSE,
NULL);
IoMarkIrpPending(Irp);
Status = STATUS_PENDING;
}
DPRINT("NpfsConnectPipe() done (Status %lx)\n", Status);