mirror of
https://github.com/winfsp/winfsp.git
synced 2026-06-15 00:56:02 -05:00
sys: oplock fix
This commit is contained in:
@@ -75,6 +75,9 @@ static NTSTATUS FspFsvolClose(
|
||||
|
||||
ASSERT(FileNode == FileDesc->FileNode);
|
||||
|
||||
if (!FlagOn(FileObject->Flags, FO_CLEANUP_COMPLETE))
|
||||
FspFileNodeOplockCheck(FileNode, Irp);
|
||||
|
||||
/* create the user-mode file system request; MustSucceed because IRP_MJ_CLOSE cannot fail */
|
||||
FspIopCreateRequestMustSucceed(0, 0, 0, &Request);
|
||||
Request->Kind = FspFsctlTransactCloseKind;
|
||||
|
||||
Reference in New Issue
Block a user