On Thu, 2009-04-02 at 21:54 +0100, Al Viro wrote: > > The other thing we'd need is a 'root' path argument to ensure that > > __vfs_follow_link() does the right thing when presented with an absolute > > symlink. > > The only problem I see with this is that we'll get root vfsmount/dentry > refcount jerked on *all* lookups now, instead of just the absolute > ones... How about using a LOOKUP_ROOT_SET nd->flag to switch between use of current->fs->root or nd->root? That allows you to keep the default behaviour of not changing the root refcount. -- Trond Myklebust Linux NFS client maintainer NetApp Trond.Myklebust@xxxxxxxxxx www.netapp.com -- To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html