projects
/
platform
/
kernel
/
linux-amlogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ad81f05
)
SUNRPC: Fix another issue with rpc_client_register()
author
Trond Myklebust
<Trond.Myklebust@netapp.com>
Mon, 15 Jul 2013 02:57:50 +0000
(22:57 -0400)
committer
Trond Myklebust
<Trond.Myklebust@netapp.com>
Mon, 15 Jul 2013 14:15:54 +0000
(10:15 -0400)
Fix the error pathway if rpcauth_create() fails.
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
net/sunrpc/clnt.c
patch
|
blob
|
history
diff --git
a/net/sunrpc/clnt.c
b/net/sunrpc/clnt.c
index
9963584
..
74f6a70
100644
(file)
--- a/
net/sunrpc/clnt.c
+++ b/
net/sunrpc/clnt.c
@@
-309,6
+309,7
@@
static int rpc_client_register(const struct rpc_create_args *args,
return 0;
err_auth:
pipefs_sb = rpc_get_sb_net(net);
+ rpc_unregister_client(clnt);
__rpc_clnt_remove_pipedir(clnt);
out:
if (pipefs_sb)