diff options
Diffstat (limited to 'net/sunrpc/clnt.c')
-rw-r--r-- | net/sunrpc/clnt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sunrpc/clnt.c b/net/sunrpc/clnt.c index 5a28ffac99ea..98df44e453fe 100644 --- a/net/sunrpc/clnt.c +++ b/net/sunrpc/clnt.c | |||
@@ -353,7 +353,7 @@ rpc_free_client(struct kref *kref) | |||
353 | dprintk("RPC: destroying %s client for %s\n", | 353 | dprintk("RPC: destroying %s client for %s\n", |
354 | clnt->cl_protname, clnt->cl_server); | 354 | clnt->cl_protname, clnt->cl_server); |
355 | if (clnt->cl_auth) { | 355 | if (clnt->cl_auth) { |
356 | rpcauth_destroy(clnt->cl_auth); | 356 | rpcauth_release(clnt->cl_auth); |
357 | clnt->cl_auth = NULL; | 357 | clnt->cl_auth = NULL; |
358 | } | 358 | } |
359 | if (!IS_ERR(clnt->cl_dentry)) { | 359 | if (!IS_ERR(clnt->cl_dentry)) { |