Commit 8ce91213 authored by Andries E. Brouwer's avatar Andries E. Brouwer Committed by Linus Torvalds

[PATCH] jfs sparse fixes

parent 276c9776
...@@ -81,7 +81,7 @@ static int loglevel_read(char *page, char **start, off_t off, ...@@ -81,7 +81,7 @@ static int loglevel_read(char *page, char **start, off_t off,
return len; return len;
} }
static int loglevel_write(struct file *file, const char *buffer, static int loglevel_write(struct file *file, const char __user *buffer,
unsigned long count, void *data) unsigned long count, void *data)
{ {
char c; char c;
......
...@@ -26,7 +26,7 @@ static int jfs_follow_link(struct dentry *dentry, struct nameidata *nd) ...@@ -26,7 +26,7 @@ static int jfs_follow_link(struct dentry *dentry, struct nameidata *nd)
return vfs_follow_link(nd, s); return vfs_follow_link(nd, s);
} }
static int jfs_readlink(struct dentry *dentry, char *buffer, int buflen) static int jfs_readlink(struct dentry *dentry, char __user *buffer, int buflen)
{ {
char *s = JFS_IP(dentry->d_inode)->i_inline; char *s = JFS_IP(dentry->d_inode)->i_inline;
return vfs_readlink(dentry, buffer, buflen, s); return vfs_readlink(dentry, buffer, buflen, s);
......
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