aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfs/client.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/nfs/client.c')
-rw-r--r--fs/nfs/client.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/fs/nfs/client.c b/fs/nfs/client.c
index 340b1eff0267..2dceee4db076 100644
--- a/fs/nfs/client.c
+++ b/fs/nfs/client.c
@@ -501,8 +501,7 @@ nfs_get_client(const struct nfs_client_initdata *cl_init,
501 &nn->nfs_client_list); 501 &nn->nfs_client_list);
502 spin_unlock(&nn->nfs_client_lock); 502 spin_unlock(&nn->nfs_client_lock);
503 new->cl_flags = cl_init->init_flags; 503 new->cl_flags = cl_init->init_flags;
504 return rpc_ops->init_client(new, timeparms, ip_addr, 504 return rpc_ops->init_client(new, timeparms, ip_addr);
505 authflavour);
506 } 505 }
507 506
508 spin_unlock(&nn->nfs_client_lock); 507 spin_unlock(&nn->nfs_client_lock);
@@ -694,13 +693,12 @@ EXPORT_SYMBOL_GPL(nfs_init_server_rpcclient);
694 * @clp: nfs_client to initialise 693 * @clp: nfs_client to initialise
695 * @timeparms: timeout parameters for underlying RPC transport 694 * @timeparms: timeout parameters for underlying RPC transport
696 * @ip_addr: IP presentation address (not used) 695 * @ip_addr: IP presentation address (not used)
697 * @authflavor: authentication flavor for underlying RPC transport
698 * 696 *
699 * Returns pointer to an NFS client, or an ERR_PTR value. 697 * Returns pointer to an NFS client, or an ERR_PTR value.
700 */ 698 */
701struct nfs_client *nfs_init_client(struct nfs_client *clp, 699struct nfs_client *nfs_init_client(struct nfs_client *clp,
702 const struct rpc_timeout *timeparms, 700 const struct rpc_timeout *timeparms,
703 const char *ip_addr, rpc_authflavor_t authflavour) 701 const char *ip_addr)
704{ 702{
705 int error; 703 int error;
706 704