]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - fs/proc/base.c
Merge branch 'omap-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...
[mv-sheeva.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;