]> 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 8e4addaa542458badbe0e62da644ec1c64194f99..632b9071ad2eca183f9cbaced5057a2db8e45a60 100644 (file)
@@ -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;