[NPFS]
authorThomas Faber <thomas.faber@reactos.org>
Thu, 15 Oct 2015 08:03:40 +0000 (08:03 +0000)
committerThomas Faber <thomas.faber@reactos.org>
Thu, 15 Oct 2015 08:03:40 +0000 (08:03 +0000)
- Don't leave the critical region before releasing ERESOURCE

svn path=/trunk/; revision=69535

reactos/drivers/filesystems/npfs/statesup.c

index d37b84d..b70c818 100644 (file)
@@ -27,8 +27,8 @@ NpCancelListeningQueueIrp(IN PDEVICE_OBJECT DeviceObject,
 
     RemoveEntryList(&Irp->Tail.Overlay.ListEntry);
 
-    FsRtlExitFileSystem();
     NpReleaseVcb();
+    FsRtlExitFileSystem();
 
     Irp->IoStatus.Status = STATUS_CANCELLED;
     IoCompleteRequest(Irp, IO_NAMED_PIPE_INCREMENT);