summaryrefslogtreecommitdiffstats
path: root/fs/nfs/internal.h
diff options
context:
space:
mode:
authorTigran Mkrtchyan <tigran.mkrtchyan@desy.de>2016-06-13 20:52:00 +0200
committerTrond Myklebust <trond.myklebust@primarydata.com>2016-07-19 16:23:25 -0400
commitb224f7cb635f0a1a0a80c1dae93699a2a1161604 (patch)
tree80886c8dc02b7fa13fd58b76bf479c18ae154a99 /fs/nfs/internal.h
parent3fc75f12089eab6bf3f5350a5f760f241060bd5d (diff)
downloadlinux-b224f7cb635f0a1a0a80c1dae93699a2a1161604.tar.gz
linux-b224f7cb635f0a1a0a80c1dae93699a2a1161604.tar.bz2
linux-b224f7cb635f0a1a0a80c1dae93699a2a1161604.zip
nfs4: flexfiles: respect noresvport when establishing connections to DSes
Signed-off-by: Tigran Mkrtchyan <tigran.mkrtchyan@desy.de> Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Diffstat (limited to 'fs/nfs/internal.h')
-rw-r--r--fs/nfs/internal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfs/internal.h b/fs/nfs/internal.h
index b257a2eaf92c..f7e33a5984d8 100644
--- a/fs/nfs/internal.h
+++ b/fs/nfs/internal.h
@@ -195,7 +195,7 @@ extern struct nfs_client *nfs4_set_ds_client(struct nfs_server *mds_srv,
rpc_authflavor_t au_flavor);
extern struct rpc_clnt *nfs4_find_or_create_ds_client(struct nfs_client *,
struct inode *);
-extern struct nfs_client *nfs3_set_ds_client(struct nfs_client *mds_clp,
+extern struct nfs_client *nfs3_set_ds_client(struct nfs_server *mds_srv,
const struct sockaddr *ds_addr, int ds_addrlen,
int ds_proto, unsigned int ds_timeo,
unsigned int ds_retrans, rpc_authflavor_t au_flavor);