From 542640e7660d43ef2bd97368cbb34cb2ec03029d Mon Sep 17 00:00:00 2001 From: Andrew Kaster Date: Sun, 31 Oct 2021 16:41:43 -0600 Subject: [PATCH] Kernel: Mark private members of SharedCommittedCowPages as private They were marked public, which seems like an obvious typo. --- Kernel/Memory/AnonymousVMObject.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Kernel/Memory/AnonymousVMObject.h b/Kernel/Memory/AnonymousVMObject.h index b645b4d1385..b85af11f3bd 100644 --- a/Kernel/Memory/AnonymousVMObject.h +++ b/Kernel/Memory/AnonymousVMObject.h @@ -75,7 +75,7 @@ private: [[nodiscard]] NonnullRefPtr take_one(); void uncommit_one(); - public: + private: Spinlock m_lock; CommittedPhysicalPageSet m_committed_pages; };