aboutsummaryrefslogtreecommitdiffstats
path: root/net/sunrpc
diff options
context:
space:
mode:
Diffstat (limited to 'net/sunrpc')
-rw-r--r--net/sunrpc/clnt.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/sunrpc/clnt.c b/net/sunrpc/clnt.c
index 9963584605c0..74f6a704e374 100644
--- 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,
309 return 0; 309 return 0;
310err_auth: 310err_auth:
311 pipefs_sb = rpc_get_sb_net(net); 311 pipefs_sb = rpc_get_sb_net(net);
312 rpc_unregister_client(clnt);
312 __rpc_clnt_remove_pipedir(clnt); 313 __rpc_clnt_remove_pipedir(clnt);
313out: 314out:
314 if (pipefs_sb) 315 if (pipefs_sb)