FS: Don't default to having a full InodeMetadata in every Inode.

This allows Ext2FS to keep its own ext2_inode around instead.
This commit is contained in:
Andreas Kling 2019-01-01 03:16:36 +01:00
parent 0cb074dc73
commit d07b08a287
Notes: sideshowbarker 2024-07-19 16:06:16 +09:00
8 changed files with 93 additions and 80 deletions

View file

@ -184,9 +184,9 @@ SynthFSInode::~SynthFSInode()
{
}
void SynthFSInode::populate_metadata() const
InodeMetadata SynthFSInode::metadata() const
{
// Already done when SynthFS created the file.
return m_metadata;
}
ssize_t SynthFSInode::read_bytes(Unix::off_t offset, size_t count, byte* buffer, FileDescriptor* descriptor)