mirror of
https://github.com/winfsp/winfsp.git
synced 2025-07-03 17:32:57 -05:00
sys: lockctl: fix hang uncovered by IFSTEST
This commit is contained in:
@ -61,8 +61,14 @@ static NTSTATUS FspFsvolLockControlRetry(
|
||||
return Result;
|
||||
}
|
||||
|
||||
ULONG IrpFlags = FspIrpFlags(Irp);
|
||||
IoSetTopLevelIrp(0);
|
||||
|
||||
/* let the FSRTL package handle this one! */
|
||||
Result = FspFileNodeProcessLockIrp(FileNode, Irp);
|
||||
ASSERT(STATUS_PENDING == Result);
|
||||
|
||||
FspFileNodeReleaseF(FileNode, IrpFlags);
|
||||
|
||||
return Result;
|
||||
}
|
||||
|
Reference in New Issue
Block a user