mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-10 02:54:54 +03:00
Kernel: Fix logic typo in AnonymousVMObject::handle_cow_fault()
Introduced in dd58d0f650
This commit is contained in:
parent
b7b23d05d5
commit
27100126c0
Notes:
sideshowbarker
2024-07-18 07:26:15 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/27100126c0c
@ -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…
Reference in New Issue
Block a user