1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-14 23:04:59 +00: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:
Andreas Kling 2019-05-31 15:32:19 +02:00
parent 056a7fea08
commit a1fdda3e20
2 changed files with 1 additions and 3 deletions

View file

@ -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;
}