svcrpc: fix gss_rpc_upcall create error
authorJ. Bruce Fields <bfields@redhat.com>
Mon, 10 Jun 2013 20:06:44 +0000 (16:06 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Thu, 1 Aug 2013 12:39:30 +0000 (08:39 -0400)
Cc: stable@vger.kernel.org
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
net/sunrpc/auth_gss/gss_rpc_upcall.c

index d304f41260f2d8be4822631be5deb86612b63860..1e1ccf539faca398ff69a327bb797c2fb2d1671b 100644 (file)
@@ -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;
        }