From: Miklos Szeredi Date: Tue, 10 Aug 2010 09:41:41 +0000 (+0200) Subject: vfs: show unreachable paths in getcwd and proc X-Git-Tag: v2.6.36-rc1~96^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8df9d1a4142311c084ffeeacb67cd34d190eff74;p=pandora-kernel.git vfs: show unreachable paths in getcwd and proc Prepend "(unreachable)" to path strings if the path is not reachable from the current root. Two places updated are - the return string from getcwd() - and symlinks under /proc/$PID. Other uses of d_path() are left unchanged (we know that some old software crashes if /proc/mounts is changed). Signed-off-by: Miklos Szeredi Signed-off-by: Al Viro --- Reading git-diff-tree failed