mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-11 02:13:56 +09:00
Kernel: Remove friend classes from ProcFSComponentsRegistrar
This commit is contained in:
parent
358a7cc448
commit
c1143e1bae
Notes:
sideshowbarker
2024-07-18 09:21:17 +09:00
Author: https://github.com/awesomekling
Commit: c1143e1bae
3 changed files with 3 additions and 7 deletions
|
@ -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().m_lock);
|
||||
Locker locker(ProcFSComponentsRegistrar::the().get_lock());
|
||||
auto parent_folder = m_parent_folder.strong_ref();
|
||||
if (parent_folder.is_null())
|
||||
return KResult(EINVAL);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue