Ext2FS: Lock a lot. Go way overkill with locking for now.

This commit is contained in:
Andreas Kling
2019-02-20 13:09:59 +01:00
parent 809ffa56d7
commit 3df4a902df
3 changed files with 52 additions and 15 deletions

View File

@@ -127,6 +127,8 @@ private:
mutable ByteBuffer m_cached_super_block;
mutable ByteBuffer m_cached_group_descriptor_table;
mutable Lock m_lock;
mutable Lock m_inode_cache_lock;
mutable HashMap<BlockIndex, RetainPtr<Ext2FSInode>> m_inode_cache;
};