lkml.org 
[lkml]   [2008]   [Jun]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [patch 3/3] vfs: fix sys_getcwd for detached mounts
From
Date
> 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


\
 
 \ /
  Last update: 2008-06-23 19:01    [W:0.030 / U:1.252 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site