mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 15:23:03 +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);
|
ASSERT(Fcb->OtherSide != NULL);
|
||||||
KeSetEvent(&Fcb->OtherSide->WriteEvent, IO_NO_INCREMENT, FALSE);
|
KeSetEvent(&Fcb->OtherSide->WriteEvent, IO_NO_INCREMENT, FALSE);
|
||||||
|
|
||||||
|
if (Information > 0 &&
|
||||||
|
Fcb->Pipe->ReadMode != FILE_PIPE_BYTE_STREAM_MODE)
|
||||||
|
{
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
ExReleaseFastMutex(&Fcb->DataListLock);
|
ExReleaseFastMutex(&Fcb->DataListLock);
|
||||||
if (IoIsOperationSynchronous(Irp))
|
if (IoIsOperationSynchronous(Irp))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue