[NTOS:MM] MmFlushSegment(): Fix Iosb annotation
authorSerge Gautherie <reactos-git_serge_171003@gautherie.fr>
Mon, 24 May 2021 06:56:17 +0000 (08:56 +0200)
committerGeorge Bișoc <george.bisoc@reactos.org>
Tue, 22 Jun 2021 08:33:45 +0000 (10:33 +0200)
Addendum to 90c6a65.

ntoskrnl/include/internal/mm.h
ntoskrnl/mm/section.c

index a3a382c..81c3954 100644 (file)
@@ -1434,7 +1434,7 @@ MmFlushSegment(
     _In_ PSECTION_OBJECT_POINTERS SectionObjectPointer,
     _In_opt_ PLARGE_INTEGER Offset,
     _In_ ULONG Length,
-    _In_opt_ PIO_STATUS_BLOCK Iosb);
+    _Out_opt_ PIO_STATUS_BLOCK Iosb);
 
 NTSTATUS
 NTAPI
index c6b618c..b6a6ca6 100644 (file)
@@ -4663,7 +4663,7 @@ MmFlushSegment(
     _In_ PSECTION_OBJECT_POINTERS SectionObjectPointer,
     _In_opt_ PLARGE_INTEGER Offset,
     _In_ ULONG Length,
-    _In_opt_ PIO_STATUS_BLOCK Iosb)
+    _Out_opt_ PIO_STATUS_BLOCK Iosb)
 {
     LARGE_INTEGER FlushStart, FlushEnd;
     NTSTATUS Status;