block: clarify parameter name
Signed-off-by: Michael Shaw <m@michaelsshaw.com>
This commit is contained in:
parent
f46281b305
commit
334bff74bc
3 changed files with 10 additions and 10 deletions
|
|
@ -26,14 +26,14 @@ static ssize_t i_write_chr(inode_t *inode, char *buf, size_t size, size_t offset
|
|||
return size;
|
||||
}
|
||||
|
||||
static ssize_t i_read_blk(inode_t *inode, char *buf, size_t size, size_t offset)
|
||||
static ssize_t i_read_blk(inode_t *inode, char *buf, size_t n_blocks, size_t offset)
|
||||
{
|
||||
return block_read(inode->data, buf, offset, size);
|
||||
return block_read(inode->data, buf, offset, n_blocks);
|
||||
}
|
||||
|
||||
static ssize_t i_write_blk(inode_t *inode, char *buf, size_t size, size_t offset)
|
||||
static ssize_t i_write_blk(inode_t *inode, char *buf, size_t n_blocks, size_t offset)
|
||||
{
|
||||
return block_write(inode->data, buf, offset, size);
|
||||
return block_write(inode->data, buf, offset, n_blocks);
|
||||
}
|
||||
|
||||
static int devfs_insert_device(const char *name, u64 mode, dirent_t **out)
|
||||
|
|
|
|||
Loading…
Reference in a new issue