- Release cancel spinlock in NpCancelListeningQueueIrp

svn path=/trunk/; revision=60231
This commit is contained in:
Thomas Faber 2013-09-20 06:49:21 +00:00
parent a5d94cf00e
commit 4bd498a2d1

View file

@ -20,6 +20,8 @@ NTAPI
NpCancelListeningQueueIrp(IN PDEVICE_OBJECT DeviceObject,
IN PIRP Irp)
{
IoReleaseCancelSpinLock(Irp->CancelIrql);
FsRtlEnterFileSystem();
NpAcquireExclusiveVcb();
@ -72,7 +74,7 @@ NpSetConnectedPipeState(IN PNP_CCB Ccb,
NTSTATUS
NTAPI
NpSetDisconnectedPipeState(IN PNP_CCB Ccb,
NpSetDisconnectedPipeState(IN PNP_CCB Ccb,
IN PLIST_ENTRY List)
{
PIRP Irp;
@ -109,9 +111,9 @@ NpSetDisconnectedPipeState(IN PNP_CCB Ccb,
Status = STATUS_SUCCESS;
break;
case FILE_PIPE_CONNECTED_STATE:
EventBuffer = NonPagedCcb->EventBuffer[FILE_PIPE_CLIENT_END];
while (Ccb->DataQueue[FILE_PIPE_INBOUND].QueueState != Empty)
@ -184,7 +186,7 @@ NpSetDisconnectedPipeState(IN PNP_CCB Ccb,
NTSTATUS
NTAPI
NpSetListeningPipeState(IN PNP_CCB Ccb,
IN PIRP Irp,
IN PIRP Irp,
IN PLIST_ENTRY List)
{
NTSTATUS Status;
@ -241,8 +243,8 @@ NpSetListeningPipeState(IN PNP_CCB Ccb,
NTSTATUS
NTAPI
NpSetClosingPipeState(IN PNP_CCB Ccb,
IN PIRP Irp,
IN ULONG NamedPipeEnd,
IN PIRP Irp,
IN ULONG NamedPipeEnd,
IN PLIST_ENTRY List)
{
PNP_NONPAGED_CCB NonPagedCcb;