summaryrefslogtreecommitdiff
path: root/VirtualFileSystem/FileHandle.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'VirtualFileSystem/FileHandle.cpp')
-rw-r--r--VirtualFileSystem/FileHandle.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/VirtualFileSystem/FileHandle.cpp b/VirtualFileSystem/FileHandle.cpp
index c1a67dfe25..4e61f1b172 100644
--- a/VirtualFileSystem/FileHandle.cpp
+++ b/VirtualFileSystem/FileHandle.cpp
@@ -102,7 +102,7 @@ Unix::ssize_t FileHandle::read(byte* buffer, Unix::size_t count)
// FIXME: What should happen to m_currentOffset?
return m_vnode->characterDevice()->read(buffer, count);
}
- Unix::ssize_t nread = m_vnode->fileSystem()->readInodeBytes(m_vnode->inode, m_currentOffset, count, buffer);
+ Unix::ssize_t nread = m_vnode->fileSystem()->readInodeBytes(m_vnode->inode, m_currentOffset, count, buffer, this);
m_currentOffset += nread;
return nread;
}
@@ -125,7 +125,7 @@ ByteBuffer FileHandle::readEntireFile()
return buffer;
}
- return m_vnode->fileSystem()->readEntireInode(m_vnode->inode);
+ return m_vnode->fileSystem()->readEntireInode(m_vnode->inode, this);
}
bool FileHandle::isDirectory() const