summaryrefslogtreecommitdiffstats
path: root/net/sunrpc
diff options
context:
space:
mode:
authorJ. Bruce Fields2013-06-10 22:06:44 +0200
committerJ. Bruce Fields2013-08-01 14:39:30 +0200
commit9f96392b0ae6aefc02a9b900c3f4889dfafc8402 (patch)
tree5f1fa0cad4aa07cfc5b250aa48818caf95cbde8c /net/sunrpc
parentNFSD/sunrpc: avoid deadlock on TCP connection due to memory pressure. (diff)
downloadkernel-qcow2-linux-9f96392b0ae6aefc02a9b900c3f4889dfafc8402.tar.gz
kernel-qcow2-linux-9f96392b0ae6aefc02a9b900c3f4889dfafc8402.tar.xz
kernel-qcow2-linux-9f96392b0ae6aefc02a9b900c3f4889dfafc8402.zip
svcrpc: fix gss_rpc_upcall create error
Cc: stable@vger.kernel.org Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'net/sunrpc')
-rw-r--r--net/sunrpc/auth_gss/gss_rpc_upcall.c2
1 files changed, 1 insertions, 1 deletions
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;
}