Re: [PATCH 1/4] VFS: Add a VFS helper function vfs_remote_path_lookup()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 2009-04-02 at 21:56 +0100, Al Viro wrote:
> On Thu, Apr 02, 2009 at 09:54:18PM +0100, Al Viro wrote:
> > On Thu, Apr 02, 2009 at 04:45:30PM -0400, Trond Myklebust wrote:
> > 
> > > The NFS client is constructing the namespace as it walks the path using
> > > the ->follow_link() trick to automount new filesystems. As long as we
> > > can add a mount namespace argument to do_add_mount(), then we should be
> > > able to make use of a namespace in struct nameidata.
> > 
> > *wince*
> > Theoretically doable, practically can get ugly.
> 
> BTW, it's enough to tell it "take the namespace mountpoint belongs to",
> if we really go that way.

True. The only place (apart from check_mnt()) that doesn't use the
mountpoint namespace appears to be attach_recursive_mnt() which, for
reasons which are not clear, appears to do a touch_mnt_namespace() on
current->nsproxy->mnt_ns instead.

-- 
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

[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]
  Powered by Linux