- Don't leave the critical region before releasing ERESOURCE

svn path=/trunk/; revision=69535
This commit is contained in:
Thomas Faber 2015-10-15 08:03:40 +00:00
parent 027ae80ad0
commit 13312423b0

View 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);