commit | 1540c5d3cbf7670eb68a0d02611ec73e5604a91a | [log] [tgz] |
---|---|---|
author | Trond Myklebust <Trond.Myklebust@netapp.com> | Sun Jul 14 22:57:50 2013 -0400 |
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | Mon Jul 15 10:15:54 2013 -0400 |
tree | 831cbe4fd73959db7966196d2e1e69c8f1938e9b | |
parent | ad81f0545ef01ea651886dddac4bef6cec930092 [diff] |
SUNRPC: Fix another issue with rpc_client_register() Fix the error pathway if rpcauth_create() fails. Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
diff --git a/net/sunrpc/clnt.c b/net/sunrpc/clnt.c index 9963584..74f6a70 100644 --- a/net/sunrpc/clnt.c +++ b/net/sunrpc/clnt.c
@@ -309,6 +309,7 @@ return 0; err_auth: pipefs_sb = rpc_get_sb_net(net); + rpc_unregister_client(clnt); __rpc_clnt_remove_pipedir(clnt); out: if (pipefs_sb)