Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 334063
b: refs/heads/master
c: fac7a17
h: refs/heads/master
i:
  334061: 87f952e
  334059: c9e8691
  334055: 708c324
  334047: e251f69
v: v3
  • Loading branch information
J. Bruce Fields committed Sep 10, 2012
1 parent a8f9d31 commit 396fe2a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 9959ba0c241a71c7ed8133401cfbbee2720da0b5
refs/heads/master: fac7a17b5fd056db969e4b3ec9936679c01f25a5
2 changes: 1 addition & 1 deletion trunk/fs/nfsd/vfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -1581,7 +1581,7 @@ nfsd_readlink(struct svc_rqst *rqstp, struct svc_fh *fhp, char *buf, int *lenp)
*/

oldfs = get_fs(); set_fs(KERNEL_DS);
host_err = inode->i_op->readlink(path.dentry, buf, *lenp);
host_err = inode->i_op->readlink(path.dentry, (char __user *)buf, *lenp);
set_fs(oldfs);

if (host_err < 0)
Expand Down

0 comments on commit 396fe2a

Please sign in to comment.