mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 00:23:10 +00:00
[NTFS]
- Only free the IRP context in case the request is not to be queued - Stubplement request queueing support in NtfsDispatch() svn path=/trunk/; revision=67877
This commit is contained in:
parent
6277edf7d8
commit
d71894a0ad
1 changed files with 10 additions and 1 deletions
|
@ -87,8 +87,17 @@ NtfsDispatch(PNTFS_IRP_CONTEXT IrpContext)
|
||||||
IoCompleteRequest(Irp, IrpContext->PriorityBoost);
|
IoCompleteRequest(Irp, IrpContext->PriorityBoost);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (IrpContext)
|
if (IrpContext->Flags & IRPCONTEXT_QUEUE)
|
||||||
|
{
|
||||||
|
/* Reset our status flags before queueing the IRP */
|
||||||
|
IrpContext->Flags |= IRPCONTEXT_COMPLETE;
|
||||||
|
IrpContext->Flags &= ~IRPCONTEXT_QUEUE;
|
||||||
|
UNIMPLEMENTED_DBGBREAK();
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
ExFreePoolWithTag(IrpContext, 'PRIN');
|
ExFreePoolWithTag(IrpContext, 'PRIN');
|
||||||
|
}
|
||||||
|
|
||||||
IoSetTopLevelIrp(NULL);
|
IoSetTopLevelIrp(NULL);
|
||||||
FsRtlExitFileSystem();
|
FsRtlExitFileSystem();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue