projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'md/3.15-fixes' of git://neil.brown.name/md
[firefly-linux-kernel-4.4.55.git]
/
fs
/
proc
/
self.c
diff --git
a/fs/proc/self.c
b/fs/proc/self.c
index ffeb202ec942d3f3f83594d517e329bafa89ce98..4348bb8907c20a6abc211b9fa944eca005d6f47c 100644
(file)
--- a/
fs/proc/self.c
+++ b/
fs/proc/self.c
@@
-16,7
+16,7
@@
static int proc_self_readlink(struct dentry *dentry, char __user *buffer,
if (!tgid)
return -ENOENT;
sprintf(tmp, "%d", tgid);
- return
vfs_readlink(dentry,buffer,buflen,
tmp);
+ return
readlink_copy(buffer, buflen,
tmp);
}
static void *proc_self_follow_link(struct dentry *dentry, struct nameidata *nd)