https://git.reactos.org/?p=reactos.git;a=commitdiff;h=c2e454b4396e075e38587…
commit c2e454b4396e075e38587d7b77eddd6bcfdc37e6
Author: Serge Gautherie <reactos-git_serge_171003(a)gautherie.fr>
AuthorDate: Mon May 24 08:56:17 2021 +0200
Commit: George Bișoc <george.bisoc(a)reactos.org>
CommitDate: Tue Jun 22 10:33:45 2021 +0200
[NTOS:CC] CcRosFlushVacb(): Fix Iosb annotation
Addendum to 2ba1926.
---
ntoskrnl/cc/view.c | 2 +-
ntoskrnl/include/internal/cc.h | 5 ++++-
2 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/ntoskrnl/cc/view.c b/ntoskrnl/cc/view.c
index c59c103a46b..97d675c2b04 100644
--- a/ntoskrnl/cc/view.c
+++ b/ntoskrnl/cc/view.c
@@ -158,7 +158,7 @@ CcRosTraceCacheMap (
NTSTATUS
CcRosFlushVacb (
_In_ PROS_VACB Vacb,
- _In_ PIO_STATUS_BLOCK Iosb)
+ _Out_opt_ PIO_STATUS_BLOCK Iosb)
{
NTSTATUS Status;
BOOLEAN HaveLock = FALSE;
diff --git a/ntoskrnl/include/internal/cc.h b/ntoskrnl/include/internal/cc.h
index 1986e888f9e..a56118a8558 100644
--- a/ntoskrnl/include/internal/cc.h
+++ b/ntoskrnl/include/internal/cc.h
@@ -310,7 +310,10 @@ CcMdlWriteComplete2(
);
NTSTATUS
-CcRosFlushVacb(PROS_VACB Vacb, PIO_STATUS_BLOCK Iosb);
+CcRosFlushVacb(
+ _In_ PROS_VACB Vacb,
+ _Out_opt_ PIO_STATUS_BLOCK Iosb
+);
NTSTATUS
CcRosGetVacb(