1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 08:48:11 +00:00

Kernel: Rename ProcFSComponentsRegistrar => ProcFSComponentRegistry

This matches the formatting used in SysFS.
This commit is contained in:
Andreas Kling 2021-07-11 01:40:26 +02:00
parent c1143e1bae
commit fa9111ac46
9 changed files with 28 additions and 28 deletions

View file

@ -26,7 +26,7 @@ static size_t s_allocate_inode_index()
return s_next_inode_index.value();
}
InodeIndex ProcFSComponentsRegistrar::allocate_inode_index() const
InodeIndex ProcFSComponentRegistry::allocate_inode_index() const
{
return s_allocate_inode_index();
}
@ -242,7 +242,7 @@ RefPtr<ProcFSExposedComponent> ProcFSExposedDirectory::lookup(StringView name)
KResult ProcFSExposedDirectory::traverse_as_directory(unsigned fsid, Function<bool(FileSystem::DirectoryEntryView const&)> callback) const
{
Locker locker(ProcFSComponentsRegistrar::the().get_lock());
Locker locker(ProcFSComponentRegistry::the().get_lock());
auto parent_folder = m_parent_folder.strong_ref();
if (parent_folder.is_null())
return KResult(EINVAL);