mirror of
https://github.com/RGBCube/serenity
synced 2025-05-16 18:05:07 +00:00
More VFS cleanup.
This commit is contained in:
parent
396a32835b
commit
8fa2d7104a
22 changed files with 92 additions and 95 deletions
|
@ -114,7 +114,7 @@ ByteBuffer FileSystem::readEntireInode(InodeIdentifier inode, FileDescriptor* ha
|
|||
byte* out = contents.pointer();
|
||||
Unix::off_t offset = 0;
|
||||
for (;;) {
|
||||
nread = readInodeBytes(inode, offset, sizeof(buffer), buffer, handle);
|
||||
nread = read_inode_bytes(inode, offset, sizeof(buffer), buffer, handle);
|
||||
//kprintf("nread: %u, bufsiz: %u, initialSize: %u\n", nread, sizeof(buffer), initialSize);
|
||||
ASSERT(nread <= (Unix::ssize_t)sizeof(buffer));
|
||||
if (nread <= 0)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue