aboutsummaryrefslogtreecommitdiffstats
path: root/fs/proc/base.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/proc/base.c')
-rw-r--r--fs/proc/base.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/proc/base.c b/fs/proc/base.c
index 2fa0ce29b6dc..08cba2c3b612 100644
--- a/fs/proc/base.c
+++ b/fs/proc/base.c
@@ -1650,7 +1650,7 @@ static int do_proc_readlink(struct path *path, char __user *buffer, int buflen)
1650 if (!tmp) 1650 if (!tmp)
1651 return -ENOMEM; 1651 return -ENOMEM;
1652 1652
1653 pathname = d_path_with_unreachable(path, tmp, PAGE_SIZE); 1653 pathname = d_path(path, tmp, PAGE_SIZE);
1654 len = PTR_ERR(pathname); 1654 len = PTR_ERR(pathname);
1655 if (IS_ERR(pathname)) 1655 if (IS_ERR(pathname))
1656 goto out; 1656 goto out;