X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=fs%2Fproc%2Fbase.c;h=182845147fe45bde8f5607a799f23cc1e2818117;hb=38971ce2fac484249d697fe48a9b0851a0b62572;hp=f3d02ca461ecfcc341eb783fd15da8df486fde11;hpb=12462f2df4d10ea4f6d55b9d438ff788badec3f0;p=mv-sheeva.git diff --git a/fs/proc/base.c b/fs/proc/base.c index f3d02ca461e..182845147fe 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;