[NTOSKRNL]
authorArt Yerkes <art.yerkes@gmail.com>
Sun, 6 May 2012 02:12:24 +0000 (02:12 +0000)
committerArt Yerkes <art.yerkes@gmail.com>
Sun, 6 May 2012 02:12:24 +0000 (02:12 +0000)
Formatting.

svn path=/trunk/; revision=56522

reactos/ntoskrnl/mm/section.c

index 0390463..1a71d66 100644 (file)
@@ -2107,13 +2107,13 @@ MmPageOutSectionView(PMMSUPPORT AddressSpace,
             MmInsertRmap(Page,
                          Process,
                          Address);
             MmInsertRmap(Page,
                          Process,
                          Address);
-           // If we got here, the previous entry should have been a wait
+            // If we got here, the previous entry should have been a wait
             Entry = MAKE_SSE(Page << PAGE_SHIFT, 1);
             Entry = MAKE_SSE(Page << PAGE_SHIFT, 1);
-           MmLockSectionSegment(Context.Segment);
-           OldEntry = MmGetPageEntrySectionSegment(Context.Segment, &Context.Offset);
-           ASSERT(OldEntry == 0 || OldEntry == MAKE_SWAP_SSE(MM_WAIT_ENTRY));
+            MmLockSectionSegment(Context.Segment);
+            OldEntry = MmGetPageEntrySectionSegment(Context.Segment, &Context.Offset);
+            ASSERT(OldEntry == 0 || OldEntry == MAKE_SWAP_SSE(MM_WAIT_ENTRY));
             MmSetPageEntrySectionSegment(Context.Segment, &Context.Offset, Entry);
             MmSetPageEntrySectionSegment(Context.Segment, &Context.Offset, Entry);
-           MmUnlockSectionSegment(Context.Segment);
+            MmUnlockSectionSegment(Context.Segment);
          }
          MmUnlockAddressSpace(AddressSpace);
          MiSetPageEvent(NULL, NULL);
          }
          MmUnlockAddressSpace(AddressSpace);
          MiSetPageEvent(NULL, NULL);