Author: tfaber
Date: Fri Sep 20 06:49:21 2013
New Revision: 60231
URL:
http://svn.reactos.org/svn/reactos?rev=60231&view=rev
Log:
[NPFS]
- Release cancel spinlock in NpCancelListeningQueueIrp
Modified:
trunk/reactos/drivers/filesystems/npfs_new/statesup.c
Modified: trunk/reactos/drivers/filesystems/npfs_new/statesup.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/filesystems/npfs_n…
==============================================================================
--- trunk/reactos/drivers/filesystems/npfs_new/statesup.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/filesystems/npfs_new/statesup.c [iso-8859-1] Fri Sep 20 06:49:21
2013
@@ -20,6 +20,8 @@
NpCancelListeningQueueIrp(IN PDEVICE_OBJECT DeviceObject,
IN PIRP Irp)
{
+ IoReleaseCancelSpinLock(Irp->CancelIrql);
+
FsRtlEnterFileSystem();
NpAcquireExclusiveVcb();
@@ -72,7 +74,7 @@
NTSTATUS
NTAPI
-NpSetDisconnectedPipeState(IN PNP_CCB Ccb,
+NpSetDisconnectedPipeState(IN PNP_CCB Ccb,
IN PLIST_ENTRY List)
{
PIRP Irp;
@@ -109,9 +111,9 @@
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 @@
NTSTATUS
NTAPI
NpSetListeningPipeState(IN PNP_CCB Ccb,
- IN PIRP Irp,
+ IN PIRP Irp,
IN PLIST_ENTRY List)
{
NTSTATUS Status;
@@ -241,8 +243,8 @@
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;