1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-18 21:35:06 +00:00

Refactor FS::write_inode() into Inode::write().

This commit is contained in:
Andreas Kling 2018-12-25 00:10:32 +01:00
parent b0db0e5de0
commit 4f142b86ec
5 changed files with 18 additions and 28 deletions

View file

@ -143,12 +143,6 @@ RetainPtr<Inode> SynthFS::create_inode(InodeIdentifier parentInode, const String
return { };
}
bool SynthFS::write_inode(InodeIdentifier, const ByteBuffer&)
{
kprintf("FIXME: Implement SyntheticFileSystem::writeInode().\n");
return false;
}
RetainPtr<Inode> SynthFS::create_directory(InodeIdentifier, const String&, Unix::mode_t, int& error)
{
error = -EROFS;
@ -263,3 +257,9 @@ String SynthFSInode::reverse_lookup(InodeIdentifier child_id)
void SynthFSInode::flush_metadata()
{
}
bool SynthFSInode::write(const ByteBuffer&)
{
ASSERT_NOT_REACHED();
return false;
}