Ext2FS: Avoid a kmallocation every time we fetch an inode from disk.

This commit is contained in:
Andreas Kling 2019-02-03 04:05:30 +01:00
commit 3a9c01619f
Notes: sideshowbarker 2024-07-19 15:53:12 +09:00
2 changed files with 4 additions and 11 deletions

View file

@ -47,7 +47,7 @@ private:
Ext2FS& fs();
const Ext2FS& fs() const;
Ext2FSInode(Ext2FS&, unsigned index, const ext2_inode&);
Ext2FSInode(Ext2FS&, unsigned index);
mutable Vector<unsigned> m_block_list;
mutable HashMap<String, unsigned> m_lookup_cache;