Messages in this thread |  | | | Subject | Re: [patch 3/3] vfs: fix sys_getcwd for detached mounts | | From | Miklos Szeredi <> | | Date | Mon, 23 Jun 2008 18:58:14 +0200 |
| |
> Darn, this is wrong. It should be looking at vfsmnt->mnt_namespace == > NULL. > > Fixed patch coming up.
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
|  |