sys: FspWqOplockPrepare: use work routine

This commit is contained in:
Bill Zissimopoulos
2016-11-12 12:06:28 -08:00
parent f2535484ea
commit 2772af5478
2 changed files with 5 additions and 2 deletions

View File

@ -51,7 +51,7 @@ static NTSTATUS FspFsvolLockControlRetry(
/* perform oplock check; we are only implementing Win7 behavior */
Result = FspCheckOplock(FspFileNodeAddrOfOplock(FileNode), Irp,
0, FspWqOplockComplete, FspWqOplockPrepare);
(PVOID)(UINT_PTR)FspFsvolLockControlRetry, FspWqOplockComplete, FspWqOplockPrepare);
if (STATUS_PENDING == Result)
{
FspFileNodeRelease(FileNode, Main);