sys: DEBUGRANDTEST()

This commit is contained in:
Bill Zissimopoulos
2016-01-27 15:26:44 -08:00
parent f491d6015f
commit dde82a1081
3 changed files with 28 additions and 2 deletions

View File

@ -690,7 +690,7 @@ static NTSTATUS FspFsvolCreateTryOpen(PIRP Irp, const FSP_FSCTL_TRANSACT_RSP *Re
FSP_FSCTL_TRANSACT_REQ *Request = FspIrpRequest(Irp);
BOOLEAN Success;
Success = FspFileNodeTryAcquireExclusive(FileNode, Both);
Success = DEBUGRANDTEST(90, TRUE) && FspFileNodeTryAcquireExclusive(FileNode, Both);
if (!Success)
{
/* repost the IRP to retry later */