diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-05-14 17:31:57 +0200 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-05-14 17:31:57 +0200 |
commit | 01ffcdfa31ba560fcceee82ba2158f867ad114ec (patch) | |
tree | 04b38055a947a1e98c1e9c338297ca945232af85 /Kernel/FileSystem | |
parent | 2fa5e2b66b622797ae3dce4fc989d95b74e5d0d7 (diff) | |
download | serenity-01ffcdfa31ba560fcceee82ba2158f867ad114ec.zip |
Kernel: Encapsulate the Region's COW map a bit better.
Diffstat (limited to 'Kernel/FileSystem')
-rw-r--r-- | Kernel/FileSystem/ProcFS.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/FileSystem/ProcFS.cpp b/Kernel/FileSystem/ProcFS.cpp index c9de62f2d7..2b5220f167 100644 --- a/Kernel/FileSystem/ProcFS.cpp +++ b/Kernel/FileSystem/ProcFS.cpp @@ -279,7 +279,7 @@ ByteBuffer procfs$pid_vmo(InodeIdentifier identifier) auto& physical_page = region->vmo().physical_pages()[i]; builder.appendf("P%x%s(%u) ", physical_page ? physical_page->paddr().get() : 0, - region->cow_map().get(i) ? "!" : "", + region->should_cow(i) ? "!" : "", physical_page ? physical_page->retain_count() : 0 ); } |