mirror of
https://github.com/RGBCube/serenity
synced 2025-05-28 11:55:12 +00:00
Ext2FS: Avoid a kmallocation every time we fetch an inode from disk.
This commit is contained in:
parent
db2422d0d3
commit
3a9c01619f
2 changed files with 4 additions and 11 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue