mirror of
https://github.com/reactos/reactos.git
synced 2024-08-03 01:50:57 +00:00
- 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:
parent
9e8a571c11
commit
373e0819fd
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue