mirror of
https://github.com/RGBCube/serenity
synced 2025-07-24 22:17:42 +00:00
Kernel: Rename SpinLock => Spinlock
This commit is contained in:
parent
7d5d26b048
commit
55adace359
110 changed files with 491 additions and 491 deletions
|
@ -9,12 +9,12 @@
|
|||
|
||||
namespace Kernel {
|
||||
|
||||
static SpinLock<u8> s_index_lock;
|
||||
static Spinlock<u8> s_index_lock;
|
||||
static InodeIndex s_next_inode_index { 0 };
|
||||
|
||||
static size_t allocate_inode_index()
|
||||
{
|
||||
ScopedSpinLock lock(s_index_lock);
|
||||
ScopedSpinlock 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