Readd check that I accidently removed.

svn path=/trunk/; revision=17157
This commit is contained in:
Filip Navara 2005-08-07 11:25:36 +00:00
parent aef1fdc048
commit 9a462169de

View file

@ -411,6 +411,12 @@ NpfsRead(IN PDEVICE_OBJECT DeviceObject,
ASSERT(Fcb->OtherSide != NULL);
KeSetEvent(&Fcb->OtherSide->WriteEvent, IO_NO_INCREMENT, FALSE);
if (Information > 0 &&
Fcb->Pipe->ReadMode != FILE_PIPE_BYTE_STREAM_MODE)
{
break;
}
ExReleaseFastMutex(&Fcb->DataListLock);
if (IoIsOperationSynchronous(Irp))
{