mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 16:36:33 +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);
|
||||
}
|
||||
|
||||
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');
|
||||
}
|
||||
|
||||
IoSetTopLevelIrp(NULL);
|
||||
FsRtlExitFileSystem();
|
||||
|
|
Loading…
Reference in a new issue