diff options
author | Peng Tao <tao.peng@primarydata.com> | 2014-05-29 09:07:00 -0400 |
---|---|---|
committer | Tom Haynes <loghyr@primarydata.com> | 2015-02-03 14:06:33 -0500 |
commit | 064172f3459a914277aa309b2afd3bd5d1c3289a (patch) | |
tree | 1365bcc2407efe393cbe7fa39aa8a8fef3cfdf02 /fs/nfs/filelayout | |
parent | 7405f9e195aab95e147cc225f203d11fa74b65a8 (diff) |
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/filelayout')
-rw-r--r-- | fs/nfs/filelayout/filelayoutdev.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/nfs/filelayout/filelayoutdev.c b/fs/nfs/filelayout/filelayoutdev.c index 27bdd8ce177e..5e4b0cea84c8 100644 --- a/fs/nfs/filelayout/filelayoutdev.c +++ b/fs/nfs/filelayout/filelayoutdev.c | |||
@@ -278,7 +278,8 @@ nfs4_fl_prepare_ds(struct pnfs_layout_segment *lseg, u32 ds_idx) | |||
278 | goto out_test_devid; | 278 | goto out_test_devid; |
279 | 279 | ||
280 | nfs4_pnfs_ds_connect(s, ds, devid, dataserver_timeo, | 280 | nfs4_pnfs_ds_connect(s, ds, devid, dataserver_timeo, |
281 | dataserver_retrans); | 281 | dataserver_retrans, |
282 | s->nfs_client->cl_rpcclient->cl_auth->au_flavor); | ||
282 | 283 | ||
283 | out_test_devid: | 284 | out_test_devid: |
284 | if (filelayout_test_devid_unavailable(devid)) | 285 | if (filelayout_test_devid_unavailable(devid)) |