mirror of
https://github.com/reactos/reactos.git
synced 2024-09-28 21:44:31 +00:00
[NTOSKRNL] Fix indentation. No code changes.
This commit is contained in:
parent
7e56b21ad6
commit
b67dbdbea5
|
@ -817,25 +817,25 @@ IoBuildAsynchronousFsdRequest(IN ULONG MajorFunction,
|
|||
return NULL;
|
||||
}
|
||||
|
||||
/* Probe and Lock */
|
||||
_SEH2_TRY
|
||||
{
|
||||
/* Do the probe */
|
||||
MmProbeAndLockPages(Irp->MdlAddress,
|
||||
KernelMode,
|
||||
MajorFunction == IRP_MJ_READ ?
|
||||
IoWriteAccess : IoReadAccess);
|
||||
}
|
||||
_SEH2_EXCEPT(EXCEPTION_EXECUTE_HANDLER)
|
||||
{
|
||||
/* Free the IRP and its MDL */
|
||||
IoFreeMdl(Irp->MdlAddress);
|
||||
IoFreeIrp(Irp);
|
||||
/* Probe and Lock */
|
||||
_SEH2_TRY
|
||||
{
|
||||
/* Do the probe */
|
||||
MmProbeAndLockPages(Irp->MdlAddress,
|
||||
KernelMode,
|
||||
MajorFunction == IRP_MJ_READ ?
|
||||
IoWriteAccess : IoReadAccess);
|
||||
}
|
||||
_SEH2_EXCEPT(EXCEPTION_EXECUTE_HANDLER)
|
||||
{
|
||||
/* Free the IRP and its MDL */
|
||||
IoFreeMdl(Irp->MdlAddress);
|
||||
IoFreeIrp(Irp);
|
||||
|
||||
/* Fail */
|
||||
_SEH2_YIELD(return NULL);
|
||||
}
|
||||
_SEH2_END;
|
||||
_SEH2_YIELD(return NULL);
|
||||
}
|
||||
_SEH2_END;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -1931,19 +1931,19 @@ IoMakeAssociatedIrp(IN PIRP Irp,
|
|||
__FUNCTION__,
|
||||
Irp);
|
||||
|
||||
/* Allocate the IRP */
|
||||
AssocIrp = IoAllocateIrp(StackSize, FALSE);
|
||||
if (!AssocIrp) return NULL;
|
||||
/* Allocate the IRP */
|
||||
AssocIrp = IoAllocateIrp(StackSize, FALSE);
|
||||
if (!AssocIrp) return NULL;
|
||||
|
||||
/* Set the Flags */
|
||||
AssocIrp->Flags |= IRP_ASSOCIATED_IRP;
|
||||
/* Set the Flags */
|
||||
AssocIrp->Flags |= IRP_ASSOCIATED_IRP;
|
||||
|
||||
/* Set the Thread */
|
||||
AssocIrp->Tail.Overlay.Thread = Irp->Tail.Overlay.Thread;
|
||||
/* Set the Thread */
|
||||
AssocIrp->Tail.Overlay.Thread = Irp->Tail.Overlay.Thread;
|
||||
|
||||
/* Associate them */
|
||||
AssocIrp->AssociatedIrp.MasterIrp = Irp;
|
||||
return AssocIrp;
|
||||
/* Associate them */
|
||||
AssocIrp->AssociatedIrp.MasterIrp = Irp;
|
||||
return AssocIrp;
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in a new issue