diff options
Diffstat (limited to 'VirtualFileSystem/FileSystem.cpp')
-rw-r--r-- | VirtualFileSystem/FileSystem.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/VirtualFileSystem/FileSystem.cpp b/VirtualFileSystem/FileSystem.cpp index e8b774e767..e5529b5168 100644 --- a/VirtualFileSystem/FileSystem.cpp +++ b/VirtualFileSystem/FileSystem.cpp @@ -50,7 +50,7 @@ InodeIdentifier FileSystem::childOfDirectoryInodeWithName(InodeIdentifier inode, return foundInode; } -ByteBuffer FileSystem::readEntireInode(InodeIdentifier inode) const +ByteBuffer FileSystem::readEntireInode(InodeIdentifier inode, FileHandle* handle) const { ASSERT(inode.fileSystemID() == id()); @@ -67,7 +67,7 @@ ByteBuffer FileSystem::readEntireInode(InodeIdentifier inode) const byte* out = contents.pointer(); Unix::off_t offset = 0; for (;;) { - nread = readInodeBytes(inode, offset, sizeof(buffer), buffer); + nread = readInodeBytes(inode, offset, sizeof(buffer), buffer, handle); if (nread <= 0) break; memcpy(out, buffer, nread); |