summaryrefslogtreecommitdiff
path: root/fs/nfs/nfs3_fs.h
diff options
context:
space:
mode:
authorPeng Tao <tao.peng@primarydata.com>2014-05-30 18:15:57 +0800
committerTom Haynes <loghyr@primarydata.com>2015-02-03 11:06:34 -0800
commit1a04c6e1a26a43305fe124a0978a3e4be861af89 (patch)
tree9ea569914b07094f45cf45c45e92a883eec07386 /fs/nfs/nfs3_fs.h
parent39280a5ae8443dcc1ab3bb5ebc205aab0855b849 (diff)
nfsv3: introduce nfs3_set_ds_client
The flexfiles layout wants to create DS connection over NFSv3. Add nfs3_set_ds_client to allow that to happen. Signed-off-by: Peng Tao <tao.peng@primarydata.com> Signed-off-by: Tom Haynes <Thomas.Haynes@primarydata.com>
Diffstat (limited to 'fs/nfs/nfs3_fs.h')
-rw-r--r--fs/nfs/nfs3_fs.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/nfs/nfs3_fs.h b/fs/nfs/nfs3_fs.h
index 333ae4068506..e134d6548ab7 100644
--- a/fs/nfs/nfs3_fs.h
+++ b/fs/nfs/nfs3_fs.h
@@ -30,5 +30,7 @@ struct nfs_server *nfs3_create_server(struct nfs_mount_info *, struct nfs_subver
struct nfs_server *nfs3_clone_server(struct nfs_server *, struct nfs_fh *,
struct nfs_fattr *, rpc_authflavor_t);
+/* nfs3super.c */
+extern struct nfs_subversion nfs_v3;
#endif /* __LINUX_FS_NFS_NFS3_FS_H */