summaryrefslogtreecommitdiffstats
path: root/fs/nfs/namespace.c
diff options
context:
space:
mode:
authorTrond Myklebust <Trond.Myklebust@netapp.com>2009-06-22 15:09:14 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2009-06-22 21:28:25 -0700
commitc02d7adf8c5429727a98bad1d039bccad4c61c50 (patch)
tree10f9a95817f6491426b80f0353eed54964dc1b90 /fs/nfs/namespace.c
parentcf8d2c11cb77f129675478792122f50827e5b0ae (diff)
downloadop-kernel-dev-c02d7adf8c5429727a98bad1d039bccad4c61c50.zip
op-kernel-dev-c02d7adf8c5429727a98bad1d039bccad4c61c50.tar.gz
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
OpenPOWER on IntegriCloud