https://git.reactos.org/?p=reactos.git;a=commitdiff;h=b67dbdbea5f0543c221d813d8eca58d4d0533380

commit b67dbdbea5f0543c221d813d8eca58d4d0533380
Author:     Eric Kohl <[email protected]>
AuthorDate: Tue Dec 18 21:35:12 2018 +0100
Commit:     Eric Kohl <[email protected]>
CommitDate: Wed Dec 19 19:18:21 2018 +0100

    [NTOSKRNL] Fix indentation. No code changes.
---
 ntoskrnl/io/iomgr/irp.c | 54 ++++++++++++++++++++++++-------------------------
 1 file changed, 27 insertions(+), 27 deletions(-)

diff --git a/ntoskrnl/io/iomgr/irp.c b/ntoskrnl/io/iomgr/irp.c
index b1de62da03..1b19d49e9a 100644
--- a/ntoskrnl/io/iomgr/irp.c
+++ b/ntoskrnl/io/iomgr/irp.c
@@ -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;
 }
 
 /*

Reply via email to