mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 18:15:11 +00:00
Patch by Elrond:
- Let NpfsListeningCancelRoutine show the pipe name it is trying to act on. - Add more ASSERT()s to NpfsRead, which seems to act quite strange sometimes svn path=/trunk/; revision=19531
This commit is contained in:
parent
fc3b932fc8
commit
edb771ae7d
2 changed files with 4 additions and 2 deletions
|
@ -22,10 +22,11 @@ NpfsListeningCancelRoutine(IN PDEVICE_OBJECT DeviceObject,
|
|||
{
|
||||
PNPFS_WAITER_ENTRY Waiter;
|
||||
|
||||
DPRINT1("NpfsListeningCancelRoutine() called\n");
|
||||
|
||||
Waiter = (PNPFS_WAITER_ENTRY)&Irp->Tail.Overlay.DriverContext;
|
||||
|
||||
DPRINT1("NpfsListeningCancelRoutine() called for <%wZ>\n",
|
||||
&Waiter->Fcb->Pipe->PipeName);
|
||||
|
||||
IoReleaseCancelSpinLock(Irp->CancelIrql);
|
||||
|
||||
|
||||
|
|
|
@ -442,6 +442,7 @@ NpfsRead(IN PDEVICE_OBJECT DeviceObject,
|
|||
break;
|
||||
}
|
||||
}
|
||||
ASSERT(IoGetCurrentIrpStackLocation(Irp)->FileObject != NULL);
|
||||
if (Fcb->Pipe->ReadMode == FILE_PIPE_BYTE_STREAM_MODE)
|
||||
{
|
||||
DPRINT("Byte stream mode\n");
|
||||
|
|
Loading…
Reference in a new issue