mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-26 22:38:51 +00:00
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:
parent
0cb074dc73
commit
d07b08a287
Notes:
sideshowbarker
2024-07-19 16:06:16 +09:00
Author: https://github.com/awesomekling
Commit: d07b08a287
8 changed files with 93 additions and 80 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue