[NTOSKRNL]
[reactos.git] / reactos / ntoskrnl / mm / section.c
index 0390463..1a71d66 100644 (file)
@@ -2107,13 +2107,13 @@ MmPageOutSectionView(PMMSUPPORT AddressSpace,
             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);
-           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);
-           MmUnlockSectionSegment(Context.Segment);
+            MmUnlockSectionSegment(Context.Segment);
          }
          MmUnlockAddressSpace(AddressSpace);
          MiSetPageEvent(NULL, NULL);