mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-01 20:17:13 +02:00
FileSystem: Don't expose VFS::root_inode().
It seems like we don't need to expose this anymore, it's only used by VFS internally to construct the root custody.
This commit is contained in:
Notes:
sideshowbarker
2024-07-19 13:49:27 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/a1fdda3e205
@@ -617,7 +617,7 @@ void VFS::sync()
|
||||
Custody& VFS::root_custody()
|
||||
{
|
||||
if (!m_root_custody)
|
||||
m_root_custody = Custody::create(nullptr, "", *root_inode());
|
||||
m_root_custody = Custody::create(nullptr, "", *m_root_inode);
|
||||
return *m_root_custody;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user