diff options
Diffstat (limited to 'fs/nfsd/vfs.c')
-rw-r--r-- | fs/nfsd/vfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfsd/vfs.c b/fs/nfsd/vfs.c index 3f67b8e12251..c120b48ec305 100644 --- a/fs/nfsd/vfs.c +++ b/fs/nfsd/vfs.c | |||
@@ -1581,7 +1581,7 @@ nfsd_readlink(struct svc_rqst *rqstp, struct svc_fh *fhp, char *buf, int *lenp) | |||
1581 | */ | 1581 | */ |
1582 | 1582 | ||
1583 | oldfs = get_fs(); set_fs(KERNEL_DS); | 1583 | oldfs = get_fs(); set_fs(KERNEL_DS); |
1584 | host_err = inode->i_op->readlink(path.dentry, buf, *lenp); | 1584 | host_err = inode->i_op->readlink(path.dentry, (char __user *)buf, *lenp); |
1585 | set_fs(oldfs); | 1585 | set_fs(oldfs); |
1586 | 1586 | ||
1587 | if (host_err < 0) | 1587 | if (host_err < 0) |