1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 19:57:35 +00:00

TmpFS: Stop using FS::DirectoryEntry in TmpFSInode

The list of children can just be a bunch of { name, inode }.
This commit is contained in:
Andreas Kling 2020-08-18 17:42:21 +02:00
parent c096cb9352
commit 108263314a
2 changed files with 5 additions and 8 deletions

View file

@ -104,7 +104,7 @@ private:
Optional<KBuffer> m_content;
struct Child {
FS::DirectoryEntry entry;
String name;
NonnullRefPtr<TmpFSInode> inode;
};
HashMap<String, Child> m_children;