Commit 4b5e78cf authored by Jan Harkes's avatar Jan Harkes Committed by Linus Torvalds

[PATCH] Coda - fix sparse warnings

I reused the coda_file_read wrapper for sendfile and accidentally left
the __user tag on the buffer. This patch should fix the sparse warnings.
Signed-off-by: default avatarJan Harkes <jaharkes@cs.cmu.edu>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 3d1331e4
......@@ -46,7 +46,7 @@ coda_file_read(struct file *coda_file, char __user *buf, size_t count, loff_t *p
static ssize_t
coda_file_sendfile(struct file *coda_file, loff_t *ppos, size_t count,
read_actor_t actor, void __user *target)
read_actor_t actor, void *target)
{
struct coda_file_info *cfi;
struct file *host_file;
......
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