Remove FS::read_entire_inode() in favor of Inode::read_entire().

This commit is contained in:
Andreas Kling 2018-12-21 17:45:42 +01:00
parent 04ee693925
commit 7bc41532be
Notes: sideshowbarker 2024-07-19 16:07:32 +09:00
9 changed files with 9 additions and 66 deletions

View file

@ -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