diff options
Diffstat (limited to 'net/sunrpc')
-rw-r--r-- | net/sunrpc/clnt.c | 1 |
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; |
310 | err_auth: | 310 | err_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); |
313 | out: | 314 | out: |
314 | if (pipefs_sb) | 315 | if (pipefs_sb) |