1
0
mirror of https://github.com/winfsp/winfsp.git synced 2026-06-04 11:56:54 -05:00

sys: oplock testing

This commit is contained in:
Bill Zissimopoulos
2016-11-14 20:36:51 -08:00
parent 6a48087d5f
commit 959d8537c6
6 changed files with 37 additions and 22 deletions
+1 -1
View File
@@ -1280,7 +1280,7 @@ retry:
* that has open handles (except in the batch-oplock case described earlier).
*/
Result = STATUS_SUCCESS;
if (!FspFileNodeRenameCheck(FsvolDeviceObject, Irp, FileNode, &FileNode->FileName) &&
if (!FspFileNodeRenameCheck(FsvolDeviceObject, Irp, FileNode, &FileNode->FileName) ||
!FspFileNodeRenameCheck(FsvolDeviceObject, Irp, 0, &NewFileName))
Result = STATUS_ACCESS_DENIED;
if (!NT_SUCCESS(Result))