git.ucc.asn.au
/
tpg
/
acess2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Kernel - Fixed stupid bug in utf-8 code (mirrored in userland)
[tpg/acess2.git]
/
KernelLand
/
Modules
/
Filesystems
/
Ext2
/
read.c
diff --git
a/KernelLand/Modules/Filesystems/Ext2/read.c
b/KernelLand/Modules/Filesystems/Ext2/read.c
index
81f5ee6
..
6244d9d
100644
(file)
--- a/
KernelLand/Modules/Filesystems/Ext2/read.c
+++ b/
KernelLand/Modules/Filesystems/Ext2/read.c
@@
-11,15
+11,11
@@
#define VERBOSE 0
#include "ext2_common.h"
#define VERBOSE 0
#include "ext2_common.h"
-// === PROTOTYPES ===
-Uint64 Ext2_Read(tVFS_Node *node, Uint64 offset, Uint64 length, void *buffer);
-
// === CODE ===
/**
// === CODE ===
/**
- * \fn Uint64 Ext2_Read(tVFS_Node *Node, Uint64 Offset, Uint64 Length, void *Buffer)
* \brief Read from a file
*/
* \brief Read from a file
*/
-
Uint64 Ext2_Read(tVFS_Node *Node, Uint64 Offset, Uint64
Length, void *Buffer)
+
size_t Ext2_Read(tVFS_Node *Node, off_t Offset, size_t
Length, void *Buffer)
{
tExt2_Disk *disk = Node->ImplPtr;
tExt2_Inode inode;
{
tExt2_Disk *disk = Node->ImplPtr;
tExt2_Inode inode;
UCC
git Repository :: git.ucc.asn.au