mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-31 15:32:51 +00:00
Get rid of FS::inode_metadata() since we use Inode::metadata() everywhere.
This commit is contained in:
parent
8a71303827
commit
04ee693925
Notes:
sideshowbarker
2024-07-19 16:07:35 +09:00
Author: https://github.com/awesomekling
Commit: 04ee693925
5 changed files with 0 additions and 48 deletions
|
@ -132,20 +132,6 @@ InodeIdentifier SynthFS::root_inode() const
|
|||
return { id(), 1 };
|
||||
}
|
||||
|
||||
InodeMetadata SynthFS::inode_metadata(InodeIdentifier inode) const
|
||||
{
|
||||
InterruptDisabler disabler;
|
||||
ASSERT(inode.fsid() == id());
|
||||
#ifdef SYNTHFS_DEBUG
|
||||
kprintf("SynthFS: inodeMetadata(%u)\n", inode.index());
|
||||
#endif
|
||||
|
||||
auto it = m_inodes.find(inode.index());
|
||||
if (it == m_inodes.end())
|
||||
return { };
|
||||
return (*it).value->m_metadata;
|
||||
}
|
||||
|
||||
InodeIdentifier SynthFS::create_inode(InodeIdentifier parentInode, const String& name, Unix::mode_t mode, unsigned size, int& error)
|
||||
{
|
||||
(void) parentInode;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue