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
commit 6451b98ad4
Notes: sideshowbarker 2024-07-19 16:07:10 +09:00
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();