mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 04:13:34 +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:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user