mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 06:58:11 +00:00
Ext2FS: Fix hole in Ext2FSInode::directory_entry_count() locking.
This commit is contained in:
parent
60d0a48be5
commit
d7d6deaa5c
1 changed files with 1 additions and 1 deletions
|
@ -1324,8 +1324,8 @@ void Ext2FS::uncache_inode(InodeIndex index)
|
||||||
size_t Ext2FSInode::directory_entry_count() const
|
size_t Ext2FSInode::directory_entry_count() const
|
||||||
{
|
{
|
||||||
ASSERT(is_directory());
|
ASSERT(is_directory());
|
||||||
populate_lookup_cache();
|
|
||||||
LOCKER(m_lock);
|
LOCKER(m_lock);
|
||||||
|
populate_lookup_cache();
|
||||||
return m_lookup_cache.size();
|
return m_lookup_cache.size();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue