summaryrefslogtreecommitdiffstats
path: root/fs/nfs/namespace.c
diff options
context:
space:
mode:
authorTrond Myklebust <Trond.Myklebust@netapp.com>2009-06-22 21:09:14 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2009-06-23 06:28:25 +0200
commitc02d7adf8c5429727a98bad1d039bccad4c61c50 (patch)
tree10f9a95817f6491426b80f0353eed54964dc1b90 /fs/nfs/namespace.c
parentVFS: Add VFS helper functions for setting up private namespaces (diff)
downloadlinux-c02d7adf8c5429727a98bad1d039bccad4c61c50.tar.xz
linux-c02d7adf8c5429727a98bad1d039bccad4c61c50.zip
NFSv4: Replace nfs4_path_walk() with VFS path lookup in a private namespace
As noted in the previous patch, the NFSv4 client mount code currently has several limitations. If the mount path contains symlinks, or referrals, or even if it just contains a '..', then the client code in nfs4_path_walk() will fail with an error. This patch replaces the nfs4_path_walk()-based lookup with a helper function that sets up a private namespace to represent the namespace on the server, then uses the ordinary VFS and NFS path lookup code to walk down the mount path in that namespace. Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/nfs/namespace.c')
0 files changed, 0 insertions, 0 deletions