Kernel: Use KString instead of String in Ext2FSInode's lookup cache

This commit is contained in:
Idan Horowitz
2022-01-21 12:35:48 +02:00
committed by Andreas Kling
parent 7356110033
commit 77a81f5eed
Notes: sideshowbarker 2024-07-17 20:31:41 +09:00
2 changed files with 9 additions and 7 deletions

View File

@@ -73,7 +73,7 @@ private:
Ext2FSInode(Ext2FS&, InodeIndex);
mutable Vector<BlockBasedFileSystem::BlockIndex> m_block_list;
mutable HashMap<String, InodeIndex> m_lookup_cache;
mutable HashMap<NonnullOwnPtr<KString>, InodeIndex> m_lookup_cache;
ext2_inode m_raw_inode {};
};