mirror of
https://github.com/winfsp/winfsp.git
synced 2025-07-03 17:32:57 -05:00
sys: lockctl, read, write: oplocks
This commit is contained in:
@ -52,7 +52,7 @@ static NTSTATUS FspFsvolLockControlRetry(
|
||||
/* perform oplock check; we are only implementing Win7 behavior */
|
||||
Result = FspCheckOplock(FspFileNodeAddrOfOplock(FileNode), Irp,
|
||||
(PVOID)(UINT_PTR)FspFsvolLockControlRetry, FspWqOplockComplete, FspWqOplockPrepare);
|
||||
if (STATUS_PENDING == Result)
|
||||
if (!NT_SUCCESS(Result) || STATUS_PENDING == Result)
|
||||
{
|
||||
FspFileNodeRelease(FileNode, Main);
|
||||
return Result;
|
||||
|
Reference in New Issue
Block a user