]> git.hungrycats.org Git - linux/commitdiff
[PATCH] befs sparse fixes
authorAndries E. Brouwer <andries.brouwer@cwi.nl>
Mon, 29 Sep 2003 02:51:38 +0000 (19:51 -0700)
committerLinus Torvalds <torvalds@home.osdl.org>
Mon, 29 Sep 2003 02:51:38 +0000 (19:51 -0700)
fs/befs/linuxvfs.c

index d7846d65b3616b596bcf9ea8984316e57e7d2d4e..494c5569a5371c99422d8703879f0468bc326051 100644 (file)
@@ -39,7 +39,7 @@ static struct inode *befs_alloc_inode(struct super_block *sb);
 static void befs_destroy_inode(struct inode *inode);
 static int befs_init_inodecache(void);
 static void befs_destroy_inodecache(void);
-static int befs_readlink(struct dentry *, char *, int);
+static int befs_readlink(struct dentry *, char __user *, int);
 static int befs_follow_link(struct dentry *, struct nameidata *nd);
 static int befs_utf2nls(struct super_block *sb, const char *in, int in_len,
                        char **out, int *out_len);
@@ -494,7 +494,7 @@ befs_follow_link(struct dentry *dentry, struct nameidata *nd)
 }
 
 static int
-befs_readlink(struct dentry *dentry, char *buffer, int buflen)
+befs_readlink(struct dentry *dentry, char __user *buffer, int buflen)
 {
        struct super_block *sb = dentry->d_sb;
        befs_inode_info *befs_ino = BEFS_I(dentry->d_inode);