mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
Readd check that I accidently removed.
svn path=/trunk/; revision=17157
This commit is contained in:
parent
aef1fdc048
commit
9a462169de
1 changed files with 6 additions and 0 deletions
|
@ -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))
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue