mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 20:27:45 +00:00
Kernel: Fix logic typo in AnonymousVMObject::handle_cow_fault()
Introduced in dd58d0f650
This commit is contained in:
parent
b7b23d05d5
commit
27100126c0
1 changed files with 1 additions and 1 deletions
|
@ -318,7 +318,7 @@ PageFaultResponse AnonymousVMObject::handle_cow_fault(size_t page_index, Virtual
|
|||
|
||||
if (m_shared_committed_cow_pages) {
|
||||
m_shared_committed_cow_pages->uncommit_one();
|
||||
if (!m_shared_committed_cow_pages->is_empty())
|
||||
if (m_shared_committed_cow_pages->is_empty())
|
||||
m_shared_committed_cow_pages = nullptr;
|
||||
}
|
||||
return PageFaultResponse::Continue;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue