diff options
author | Anna Schumaker <Anna.Schumaker@Netapp.com> | 2016-11-17 15:15:55 -0500 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@primarydata.com> | 2016-12-01 17:46:32 -0500 |
commit | 7d38de3ffa75f92e7b00301dcdc6a3f9c53509ab (patch) | |
tree | 9b637b0a39d1e4565905688a6a07e77fdce54add /fs/nfs/client.c | |
parent | ced85a7568b57a671fe186562dfc601a5baab54d (diff) |
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/client.c')
-rw-r--r-- | fs/nfs/client.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/fs/nfs/client.c b/fs/nfs/client.c index ebecfb8fba06..91a8d610ba0f 100644 --- a/fs/nfs/client.c +++ b/fs/nfs/client.c | |||
@@ -369,9 +369,7 @@ nfs_found_client(const struct nfs_client_initdata *cl_init, | |||
369 | * Look up a client by IP address and protocol version | 369 | * Look up a client by IP address and protocol version |
370 | * - creates a new record if one doesn't yet exist | 370 | * - creates a new record if one doesn't yet exist |
371 | */ | 371 | */ |
372 | struct nfs_client * | 372 | struct nfs_client *nfs_get_client(const struct nfs_client_initdata *cl_init) |
373 | nfs_get_client(const struct nfs_client_initdata *cl_init, | ||
374 | rpc_authflavor_t authflavour) | ||
375 | { | 373 | { |
376 | struct nfs_client *clp, *new = NULL; | 374 | struct nfs_client *clp, *new = NULL; |
377 | struct nfs_net *nn = net_generic(cl_init->net, nfs_net_id); | 375 | struct nfs_net *nn = net_generic(cl_init->net, nfs_net_id); |
@@ -655,7 +653,7 @@ static int nfs_init_server(struct nfs_server *server, | |||
655 | set_bit(NFS_CS_NORESVPORT, &cl_init.init_flags); | 653 | set_bit(NFS_CS_NORESVPORT, &cl_init.init_flags); |
656 | 654 | ||
657 | /* Allocate or find a client reference we can use */ | 655 | /* Allocate or find a client reference we can use */ |
658 | clp = nfs_get_client(&cl_init, RPC_AUTH_UNIX); | 656 | clp = nfs_get_client(&cl_init); |
659 | if (IS_ERR(clp)) { | 657 | if (IS_ERR(clp)) { |
660 | dprintk("<-- nfs_init_server() = error %ld\n", PTR_ERR(clp)); | 658 | dprintk("<-- nfs_init_server() = error %ld\n", PTR_ERR(clp)); |
661 | return PTR_ERR(clp); | 659 | return PTR_ERR(clp); |