mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-28 19:59:17 +00:00
Kernel: Assign Lock names in class member initializers.
This commit is contained in:
parent
2dc72bb297
commit
c3b7ace3e0
Notes:
sideshowbarker
2024-07-19 14:21:53 +09:00
Author: https://github.com/awesomekling
Commit: c3b7ace3e0
12 changed files with 11 additions and 18 deletions
|
@ -25,8 +25,7 @@ HashTable<Inode*>& all_inodes()
|
|||
}
|
||||
|
||||
FS::FS()
|
||||
: m_lock("FS")
|
||||
, m_fsid(++s_lastFileSystemID)
|
||||
: m_fsid(++s_lastFileSystemID)
|
||||
{
|
||||
all_fses().set(m_fsid, this);
|
||||
}
|
||||
|
@ -87,8 +86,7 @@ FS::DirectoryEntry::DirectoryEntry(const char* n, int nl, InodeIdentifier i, byt
|
|||
}
|
||||
|
||||
Inode::Inode(FS& fs, unsigned index)
|
||||
: m_lock("Inode")
|
||||
, m_fs(fs)
|
||||
: m_fs(fs)
|
||||
, m_index(index)
|
||||
{
|
||||
all_inodes().set(this);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue