aboutsummaryrefslogtreecommitdiff
path: root/fs/proc/base.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2010-12-09 20:22:04 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2010-12-09 20:22:04 +0000
commit8d5203ca62539c6ab36a5bc2402c2de1de460e30 (patch)
treedd0c5815cea7134904855bef8d81a9b31e45c06b /fs/proc/base.c
parent8fd2685911cb6c140e6d0588ac04990ce65d4537 (diff)
parent63abf3edaf42d0b9f278df90fe41c7ed4796b6b1 (diff)
Merge branch 'drm-intel-fixes' into drm-intel-next
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 f3d02ca461ec..182845147fe4 100644
--- a/fs/proc/base.c
+++ b/fs/proc/base.c
@@ -1574,7 +1574,7 @@ static int do_proc_readlink(struct path *path, char __user *buffer, int buflen)
if (!tmp)
return -ENOMEM;
- pathname = d_path_with_unreachable(path, tmp, PAGE_SIZE);
+ pathname = d_path(path, tmp, PAGE_SIZE);
len = PTR_ERR(pathname);
if (IS_ERR(pathname))
goto out;