mirror of
https://github.com/RGBCube/serenity
synced 2025-05-28 13:05:09 +00:00
Kernel: Assign Lock names in class member initializers.
This commit is contained in:
parent
2dc72bb297
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