diff options
author | Peng Tao <tao.peng@primarydata.com> | 2014-05-29 15:07:00 +0200 |
---|---|---|
committer | Tom Haynes <loghyr@primarydata.com> | 2015-02-03 20:06:33 +0100 |
commit | 064172f3459a914277aa309b2afd3bd5d1c3289a (patch) | |
tree | 1365bcc2407efe393cbe7fa39aa8a8fef3cfdf02 /fs/nfs/internal.h | |
parent | nfs41: pull nfs4_ds_connect from file layout to generic pnfs (diff) | |
download | linux-064172f3459a914277aa309b2afd3bd5d1c3289a.tar.xz 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/internal.h')
-rw-r--r-- | fs/nfs/internal.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/nfs/internal.h b/fs/nfs/internal.h index efaa31c70fbe..7d7c36ff09fa 100644 --- a/fs/nfs/internal.h +++ b/fs/nfs/internal.h @@ -189,7 +189,8 @@ extern struct nfs_client *nfs4_set_ds_client(struct nfs_client* mds_clp, const struct sockaddr *ds_addr, int ds_addrlen, int ds_proto, unsigned int ds_timeo, - unsigned int ds_retrans); + unsigned int ds_retrans, + rpc_authflavor_t au_flavor); extern struct rpc_clnt *nfs4_find_or_create_ds_client(struct nfs_client *, struct inode *); #ifdef CONFIG_PROC_FS |