1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 05:37:43 +00:00

Refactor FS::add_inode_to_directory() into Inode::add_child().

This commit is contained in:
Andreas Kling 2018-12-25 00:27:39 +01:00
parent 4f142b86ec
commit 6451b98ad4
5 changed files with 31 additions and 20 deletions

View file

@ -29,6 +29,7 @@ private:
virtual String reverse_lookup(InodeIdentifier) override;
virtual void flush_metadata() override;
virtual bool write(const ByteBuffer&) override;
virtual bool add_child(InodeIdentifier child_id, const String& name, byte file_type, int& error) override;
void populate_lookup_cache();