summaryrefslogtreecommitdiffstats
path: root/fs/nfs/nfs3_fs.h
diff options
context:
space:
mode:
authorPeng Tao <tao.peng@primarydata.com>2014-05-30 12:15:57 +0200
committerTom Haynes <loghyr@primarydata.com>2015-02-03 20:06:34 +0100
commit1a04c6e1a26a43305fe124a0978a3e4be861af89 (patch)
tree9ea569914b07094f45cf45c45e92a883eec07386 /fs/nfs/nfs3_fs.h
parentnfs41: move file layout macros to generic pnfs (diff)
downloadlinux-1a04c6e1a26a43305fe124a0978a3e4be861af89.tar.xz
linux-1a04c6e1a26a43305fe124a0978a3e4be861af89.zip
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 */