X-Git-Url: https://rtime.felk.cvut.cz/gitweb/lisovros/linux_canprio.git/blobdiff_plain/1996cc36673bdc5e7295ca6ff46fcb9dfb48be77..f6b88b337b0683af589232fc7e19a7f323d57c57:/fs/proc/base.c diff --git a/fs/proc/base.c b/fs/proc/base.c index 8e4addaa542..632b9071ad2 100644 --- a/fs/proc/base.c +++ b/fs/proc/base.c @@ -1526,7 +1526,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;