From 8ce9121353627e6ebc2556ef5f96767bf0c6b511 Mon Sep 17 00:00:00 2001 From: "Andries E. Brouwer" Date: Sun, 28 Sep 2003 19:52:40 -0700 Subject: [PATCH] [PATCH] jfs sparse fixes --- fs/jfs/jfs_debug.c | 2 +- fs/jfs/symlink.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/fs/jfs/jfs_debug.c b/fs/jfs/jfs_debug.c index e5c7c560bbcbe..adc9c4a3ad7f7 100644 --- a/fs/jfs/jfs_debug.c +++ b/fs/jfs/jfs_debug.c @@ -81,7 +81,7 @@ static int loglevel_read(char *page, char **start, off_t off, 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) { char c; diff --git a/fs/jfs/symlink.c b/fs/jfs/symlink.c index 749a68d9f7434..6e028d912e62e 100644 --- a/fs/jfs/symlink.c +++ b/fs/jfs/symlink.c @@ -26,7 +26,7 @@ static int jfs_follow_link(struct dentry *dentry, struct nameidata *nd) 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; return vfs_readlink(dentry, buffer, buflen, s); -- 2.53.0