mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-25 10:48:41 +00:00
Ext2FS: Fix hole in Ext2FSInode::directory_entry_count() locking.
This commit is contained in:
@@ -1324,8 +1324,8 @@ void Ext2FS::uncache_inode(InodeIndex index)
|
||||
size_t Ext2FSInode::directory_entry_count() const
|
||||
{
|
||||
ASSERT(is_directory());
|
||||
populate_lookup_cache();
|
||||
LOCKER(m_lock);
|
||||
populate_lookup_cache();
|
||||
return m_lookup_cache.size();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user