sys: FSP_STATUS_IGNORE_BIT

This commit is contained in:
Bill Zissimopoulos
2016-12-30 19:48:19 -08:00
parent 8f25dd6cab
commit 1713ce9c9e
5 changed files with 11 additions and 12 deletions

View File

@ -450,18 +450,15 @@ static NTSTATUS FspFsvolFileSystemControlOplock(
/*
* FspOplockFsctrl takes ownership of the IRP under all circumstances.
*
* We mark the IRP pending so that we can safely return STATUS_PENDING.
*/
IoSetTopLevelIrp(0);
IoMarkIrpPending(Irp);
Result = FspFileNodeOplockFsctl(FileNode, Irp, OplockCount);
FspFileNodeRelease(FileNode, Main);
return STATUS_PENDING;
return Result | FSP_STATUS_IGNORE_BIT;
unlock_exit:
FspFileNodeRelease(FileNode, Main);