sys: rename DEBUGRANDTEST to DEBUGTEST

This commit is contained in:
Bill Zissimopoulos
2016-03-04 15:41:53 -08:00
parent 84be6692b8
commit b4160f4aac
7 changed files with 13 additions and 13 deletions

View File

@ -111,7 +111,7 @@ static NTSTATUS FspFsvolWriteCached(
ASSERT(FileNode == FileDesc->FileNode);
/* should we defer the write? */
Success = DEBUGRANDTEST(90, TRUE) && CcCanIWrite(FileObject, WriteLength, CanWait, Retrying);
Success = DEBUGTEST(90, TRUE) && CcCanIWrite(FileObject, WriteLength, CanWait, Retrying);
if (!Success)
{
Result = FspWqCreateIrpWorkItem(Irp, FspFsvolWriteCached, 0);
@ -127,7 +127,7 @@ static NTSTATUS FspFsvolWriteCached(
}
/* try to acquire the FileNode Main exclusive */
Success = DEBUGRANDTEST(90, TRUE) &&
Success = DEBUGTEST(90, TRUE) &&
FspFileNodeTryAcquireExclusiveF(FileNode, FspFileNodeAcquireMain, CanWait);
if (!Success)
return FspWqRepostIrpWorkItem(Irp, FspFsvolWriteCached, 0);
@ -320,7 +320,7 @@ NTSTATUS FspFsvolWritePrepare(
PEPROCESS Process;
BOOLEAN Success;
Success = DEBUGRANDTEST(90, TRUE) && FspFileNodeTryAcquireExclusive(FileNode, Full);
Success = DEBUGTEST(90, TRUE) && FspFileNodeTryAcquireExclusive(FileNode, Full);
if (!Success)
{
FspIopRetryPrepareIrp(Irp, &Result);