summaryrefslogtreecommitdiffstats
path: root/fs/nfs/pnfs.h
diff options
context:
space:
mode:
authorPeng Tao <tao.peng@primarydata.com>2014-05-29 21:07:00 +0800
committerTom Haynes <loghyr@primarydata.com>2015-02-03 11:06:33 -0800
commit064172f3459a914277aa309b2afd3bd5d1c3289a (patch)
tree1365bcc2407efe393cbe7fa39aa8a8fef3cfdf02 /fs/nfs/pnfs.h
parent7405f9e195aab95e147cc225f203d11fa74b65a8 (diff)
downloadlinux-064172f3459a914277aa309b2afd3bd5d1c3289a.tar.gz
linux-064172f3459a914277aa309b2afd3bd5d1c3289a.tar.bz2
linux-064172f3459a914277aa309b2afd3bd5d1c3289a.zip
nfs41: allow LD to choose DS connection auth flavor
flexfile layout may use different auth flavor as specified by MDS. Reviewed-by: Jeff Layton <jlayton@primarydata.com> Signed-off-by: Peng Tao <tao.peng@primarydata.com> Signed-off-by: Tom Haynes <Thomas.Haynes@primarydata.com>
Diffstat (limited to 'fs/nfs/pnfs.h')
-rw-r--r--fs/nfs/pnfs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfs/pnfs.h b/fs/nfs/pnfs.h
index 9a8937c31d97..2ea9e9a7d85e 100644
--- a/fs/nfs/pnfs.h
+++ b/fs/nfs/pnfs.h
@@ -314,7 +314,7 @@ struct nfs4_pnfs_ds *nfs4_pnfs_ds_add(struct list_head *dsaddrs,
gfp_t gfp_flags);
void nfs4_pnfs_ds_connect(struct nfs_server *mds_srv, struct nfs4_pnfs_ds *ds,
struct nfs4_deviceid_node *devid, unsigned int timeo,
- unsigned int retrans);
+ unsigned int retrans, rpc_authflavor_t au_flavor);
struct nfs4_pnfs_ds_addr *nfs4_decode_mp_ds_addr(struct net *net,
struct xdr_stream *xdr,
gfp_t gfp_flags);