1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-15 00:44:58 +00:00

Move readEntireInode() up to FileSystem (from ext2.)

It's just a wrapper around multiple calls to readInodeBytes() now.
This commit is contained in:
Andreas Kling 2018-10-15 00:16:14 +02:00
parent 0286b5ea48
commit 9528edab92
9 changed files with 39 additions and 52 deletions

View file

@ -104,6 +104,6 @@ ByteBuffer FileHandle::readEntireFile()
return buffer;
}
return m_vnode->fileSystem()->readInode(m_vnode->inode);
return m_vnode->fileSystem()->readEntireInode(m_vnode->inode);
}