Commit f0a54518 authored by Adrian Bunk's avatar Adrian Bunk

fs/bad_inode.c 64bit fix

Signed-off-by: default avatarAdrian Bunk <bunk@stusta.de>
parent 6798b095
......@@ -115,14 +115,14 @@ static int bad_file_lock(struct file *file, int cmd, struct file_lock *fl)
return -EIO;
}
static int bad_file_readv(struct file *file, const struct iovec *iv,
unsigned long count, loff_t *pos)
static ssize_t bad_file_readv(struct file *file, const struct iovec *iv,
unsigned long count, loff_t *pos)
{
return -EIO;
}
static int bad_file_writev(struct file *file, const struct iovec *iv,
unsigned long count, loff_t *pos)
static ssize_t bad_file_writev(struct file *file, const struct iovec *iv,
unsigned long count, loff_t *pos)
{
return -EIO;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment