> Darn, this is wrong. It should be looking at vfsmnt->mnt_namespace ==
And the thing is: getcwd() did return garbage for detached mounts,
except if the mounted dentry was the root of the filesystem. Which
makes the "detached:..." change slightly prone to breaking something.
Still not very likely, but...
Miklos
--