[PATCH 0/4] Allow NFS to use ordinary path lookup when mountingNFSv4

From: Trond Myklebust
Date: Tue Mar 31 2009 - 17:10:50 EST


The following series of patches contain a VFS change, and hence I'm sending
them via mail instead of as a git pull. The first two patches have been
posted earlier (see http://thread.gmane.org/gmane.linux.file-systems/29663).

To recap:
The first patch adds VFS support for walking the remote path, using a
temporary mount namespace to represent the server's namespace, so that
symlinks and referrals can be followed across remote filesystem and
server boundaries.
The second patch then uses this VFS helper in the NFSv4 mount code.

The last two patches fix issues with referrals that turned up during testing
at Connectathon.

Please apply after pulling the NFS client git tree as requested earlier today,
or you can pull the full set of changes from
git pull git://git.linux-nfs.org/projects/trondmy/nfs-2.6.git vfs-changes

Cheers
Trond


Trond Myklebust (4):
VFS: Add a VFS helper function vfs_remote_path_lookup()
NFSv4: Use vfs_path_lookup() instead of nfs4_path_walk()
NFS: Fix nfs_path() to always return a '/' at the beginning of the
path
NFS: Correct the NFS mount path when following a referral

fs/namei.c | 75 ++++++++++++++++-
fs/namespace.c | 56 ++++++++++--
fs/nfs/namespace.c | 5 +
fs/nfs/super.c | 192 ++++++++++++++++++++++++++++++++++++-----
include/linux/mnt_namespace.h | 2 +
include/linux/namei.h | 2 +
include/linux/nsproxy.h | 1 +
kernel/nsproxy.c | 11 +++
8 files changed, 314 insertions(+), 30 deletions(-)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/