mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-02-25 09:04:53 +00:00
Remove FS::read_entire_inode() in favor of Inode::read_entire().
This commit is contained in:
@@ -195,9 +195,8 @@ ByteBuffer FileDescriptor::read_entire_file()
|
||||
return buffer;
|
||||
}
|
||||
|
||||
if (m_vnode->core_inode())
|
||||
return m_vnode->core_inode()->read_entire(this);
|
||||
return m_vnode->fs()->read_entire_inode(m_vnode->inode, this);
|
||||
ASSERT(inode());
|
||||
return inode()->read_entire(this);
|
||||
}
|
||||
|
||||
bool FileDescriptor::is_directory() const
|
||||
|
||||
Reference in New Issue
Block a user