[PATCH] freevxfs sparse fixes

From: Andries . Brouwer
Date: Sun Sep 28 2003 - 18:38:34 EST


diff -u --recursive --new-file -X /linux/dontdiff a/fs/freevxfs/vxfs_immed.c b/fs/freevxfs/vxfs_immed.c
--- a/fs/freevxfs/vxfs_immed.c Mon Sep 29 01:05:41 2003
+++ b/fs/freevxfs/vxfs_immed.c Mon Sep 29 01:12:16 2003
@@ -39,7 +39,7 @@
#include "vxfs_inode.h"


-static int vxfs_immed_readlink(struct dentry *, char *, int);
+static int vxfs_immed_readlink(struct dentry *, char __user *, int);
static int vxfs_immed_follow_link(struct dentry *, struct nameidata *);

static int vxfs_immed_readpage(struct file *, struct page *);
@@ -77,7 +77,7 @@
* Number of bytes successfully copied to userspace.
*/
static int
-vxfs_immed_readlink(struct dentry *dp, char *bp, int buflen)
+vxfs_immed_readlink(struct dentry *dp, char __user *bp, int buflen)
{
struct vxfs_inode_info *vip = VXFS_INO(dp->d_inode);

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/