summaryrefslogtreecommitdiffstats
path: root/fs/nfs/filelayout
diff options
context:
space:
mode:
authorAnna Schumaker2016-11-17 21:15:55 +0100
committerTrond Myklebust2016-12-01 23:46:32 +0100
commit7d38de3ffa75f92e7b00301dcdc6a3f9c53509ab (patch)
tree9b637b0a39d1e4565905688a6a07e77fdce54add /fs/nfs/filelayout
parentnfs: fix false positives in nfs40_walk_client_list() (diff)
downloadkernel-qcow2-linux-7d38de3ffa75f92e7b00301dcdc6a3f9c53509ab.tar.gz
kernel-qcow2-linux-7d38de3ffa75f92e7b00301dcdc6a3f9c53509ab.tar.xz
kernel-qcow2-linux-7d38de3ffa75f92e7b00301dcdc6a3f9c53509ab.zip
NFS: Remove unused authflavour parameter from nfs_get_client()
This parameter hasn't been used since f8407299 (Linux 3.11-rc2), so let's remove it from this function and callers. Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com> Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Diffstat (limited to 'fs/nfs/filelayout')
-rw-r--r--fs/nfs/filelayout/filelayoutdev.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/nfs/filelayout/filelayoutdev.c b/fs/nfs/filelayout/filelayoutdev.c
index 4946ef40ba87..a5589b791439 100644
--- a/fs/nfs/filelayout/filelayoutdev.c
+++ b/fs/nfs/filelayout/filelayoutdev.c
@@ -279,8 +279,7 @@ nfs4_fl_prepare_ds(struct pnfs_layout_segment *lseg, u32 ds_idx)
nfs4_pnfs_ds_connect(s, ds, devid, dataserver_timeo,
dataserver_retrans, 4,
- s->nfs_client->cl_minorversion,
- s->nfs_client->cl_rpcclient->cl_auth->au_flavor);
+ s->nfs_client->cl_minorversion);
out_test_devid:
if (filelayout_test_devid_unavailable(devid))