aboutsummaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
Diffstat (limited to 'fs')
-rw-r--r--fs/bad_inode.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/fs/bad_inode.c b/fs/bad_inode.c
index bed55296575..9f24a4738b0 100644
--- a/fs/bad_inode.c
+++ b/fs/bad_inode.c
@@ -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;
}