summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorManoj Naik <manoj@almaden.ibm.com>2006-06-09 15:34:28 +0200
committerTrond Myklebust <Trond.Myklebust@netapp.com>2006-06-09 15:34:28 +0200
commit9cdb3883c38f883436a84c2353a4cf964ff890a2 (patch)
tree7961aebf94c66d7d55bb6e7c715e99d28ad3ab9d /include
parentNFS: Expand clone mounts to include other servers (diff)
downloadlinux-9cdb3883c38f883436a84c2353a4cf964ff890a2.tar.xz
linux-9cdb3883c38f883436a84c2353a4cf964ff890a2.zip
NFSv4: Ensure client submounts when following a referral
Set up mountpoint when hitting a referral on moved error by getting fs_locations. Signed-off-by: Manoj Naik <manoj@almaden.ibm.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/nfs_fs.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/nfs_fs.h b/include/linux/nfs_fs.h
index a34b3ee443f1..09271b10f9a8 100644
--- a/include/linux/nfs_fs.h
+++ b/include/linux/nfs_fs.h
@@ -317,6 +317,8 @@ extern struct vfsmount *nfs_do_submount(const struct vfsmount *mnt_parent,
const struct dentry *dentry,
struct nfs_fh *fh,
struct nfs_fattr *fattr);
+extern struct vfsmount *nfs_do_refmount(const struct vfsmount *mnt_parent,
+ struct dentry *dentry);
/* linux/net/ipv4/ipconfig.c: trims ip addr off front of name, too. */
extern u32 root_nfs_parse_addr(char *name); /*__init*/