]> rtime.felk.cvut.cz Git - lisovros/linux_canprio.git/blobdiff - fs/proc/base.c
Revert "vfs: show unreachable paths in getcwd and proc"
[lisovros/linux_canprio.git] / fs / proc / base.c
index f3d02ca461ecfcc341eb783fd15da8df486fde11..182845147fe45bde8f5607a799f23cc1e2818117 100644 (file)
@@ -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;