mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-25 02:40:49 +00:00
Kernel: Rename ScopedSpinlock => SpinlockLocker
This matches MutexLocker, and doesn't sound like it's a lock itself.
This commit is contained in:
@@ -52,7 +52,7 @@ size_t InodeVMObject::amount_dirty() const
|
||||
|
||||
int InodeVMObject::release_all_clean_pages()
|
||||
{
|
||||
ScopedSpinlock locker(m_lock);
|
||||
SpinlockLocker locker(m_lock);
|
||||
|
||||
int count = 0;
|
||||
for (size_t i = 0; i < page_count(); ++i) {
|
||||
|
||||
Reference in New Issue
Block a user