summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorManoj Naik <manoj@almaden.ibm.com>2006-06-09 09:34:28 -0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2006-06-09 09:34:28 -0400
commit9cdb3883c38f883436a84c2353a4cf964ff890a2 (patch)
tree7961aebf94c66d7d55bb6e7c715e99d28ad3ab9d /include
parent61f5164cab1f6fdf06871ea9d60fe2f912184078 (diff)
downloadop-kernel-dev-9cdb3883c38f883436a84c2353a4cf964ff890a2.zip
op-kernel-dev-9cdb3883c38f883436a84c2353a4cf964ff890a2.tar.gz
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 a34b3ee..09271b1 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*/
OpenPOWER on IntegriCloud