1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-02 23:22:07 +00:00

Kernel: Add accessor for mount host custody

There's no reason this information needs to be secret.
This commit is contained in:
kleines Filmröllchen 2023-06-27 15:16:26 +02:00 committed by Jelle Raaijmakers
parent 103913305b
commit 2fe5ece449
2 changed files with 13 additions and 0 deletions

View file

@ -48,4 +48,14 @@ RefPtr<Inode const> Mount::host() const
return m_host_custody->inode();
}
RefPtr<Custody const> Mount::host_custody() const
{
return m_host_custody;
}
RefPtr<Custody> Mount::host_custody()
{
return m_host_custody;
}
}