From: J. Bruce Fields Date: Mon, 10 Jun 2013 20:06:44 +0000 (-0400) Subject: svcrpc: fix gss_rpc_upcall create error X-Git-Tag: v5.15~19606^2~3 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=9f96392b0ae6aefc02a9b900c3f4889dfafc8402;p=mirror_ubuntu-kernels.git svcrpc: fix gss_rpc_upcall create error Cc: stable@vger.kernel.org Signed-off-by: J. Bruce Fields --- diff --git a/net/sunrpc/auth_gss/gss_rpc_upcall.c b/net/sunrpc/auth_gss/gss_rpc_upcall.c index d304f41260f2..1e1ccf539fac 100644 --- a/net/sunrpc/auth_gss/gss_rpc_upcall.c +++ b/net/sunrpc/auth_gss/gss_rpc_upcall.c @@ -120,7 +120,7 @@ static int gssp_rpc_create(struct net *net, struct rpc_clnt **_clnt) if (IS_ERR(clnt)) { dprintk("RPC: failed to create AF_LOCAL gssproxy " "client (errno %ld).\n", PTR_ERR(clnt)); - result = -PTR_ERR(clnt); + result = PTR_ERR(clnt); *_clnt = NULL; goto out; }