mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-27 19:59:17 +00:00
Ext2FS: Take the inode lock in Ext2FSInode::metadata()
Remove an unnecessary InterruptDisabler to make this not assert. :^)
This commit is contained in:
@@ -531,7 +531,7 @@ Ext2FSInode::~Ext2FSInode()
|
||||
|
||||
InodeMetadata Ext2FSInode::metadata() const
|
||||
{
|
||||
// FIXME: This should probably take the inode lock, no?
|
||||
LOCKER(m_lock);
|
||||
InodeMetadata metadata;
|
||||
metadata.inode = identifier();
|
||||
metadata.size = m_raw_inode.i_size;
|
||||
|
||||
Reference in New Issue
Block a user