aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2007-03-02 19:34:09 +0100
committerAdrian Bunk <bunk@stusta.de>2007-03-02 19:34:09 +0100
commitf0a54518730393941e2c4ae9634ada77f9a610c6 (patch)
tree454184475b931d336586b9b1fca79f6a06e700fc
parent6798b095c8066b394603c0634a7eb987e64e4422 (diff)
fs/bad_inode.c 64bit fix
Signed-off-by: Adrian Bunk <bunk@stusta.de>
-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;
}