sys: FspFileNodeRenameCheck: fix handle oplock break

This commit is contained in:
Bill Zissimopoulos 2022-10-04 15:44:27 +01:00
parent e50d7adc50
commit b9ca46694e

View File

@ -1475,7 +1475,7 @@ NTSTATUS FspFileNodeRenameCheck(PDEVICE_OBJECT FsvolDeviceObject, PIRP OplockIrp
{ {
Result = NT_SUCCESS(Result) ? STATUS_OPLOCK_BREAK_IN_PROGRESS : Result; Result = NT_SUCCESS(Result) ? STATUS_OPLOCK_BREAK_IN_PROGRESS : Result;
DescendantFileNodes[DescendantFileNodeIndex] = DescendantFileNodes[DescendantFileNodeIndex] =
(PVOID)((UINT_PTR)DescendantFileNode | 2); (PVOID)((UINT_PTR)DescendantFileNode | 4);
} }
else else
Result = STATUS_ACCESS_DENIED; Result = STATUS_ACCESS_DENIED;