mirror of
https://github.com/RGBCube/serenity
synced 2025-05-14 23:24:57 +00:00
Kernel: Rename ScopedSpinlock => SpinlockLocker
This matches MutexLocker, and doesn't sound like it's a lock itself.
This commit is contained in:
parent
55adace359
commit
c922a7da09
78 changed files with 365 additions and 366 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue