mirror of
https://github.com/RGBCube/serenity
synced 2025-06-28 23:22:11 +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
|
@ -14,7 +14,7 @@ static InodeIndex s_next_inode_index { 0 };
|
|||
|
||||
static size_t allocate_inode_index()
|
||||
{
|
||||
ScopedSpinlock lock(s_index_lock);
|
||||
SpinlockLocker lock(s_index_lock);
|
||||
s_next_inode_index = s_next_inode_index.value() + 1;
|
||||
VERIFY(s_next_inode_index > 0);
|
||||
return s_next_inode_index.value();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue