SUNRPC: do not fail gss proc NULL calls with EACCES
authorAndy Adamson <andros@netapp.com>
Wed, 20 Nov 2013 18:00:17 +0000 (13:00 -0500)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 26 Nov 2013 16:41:23 +0000 (11:41 -0500)
Otherwise RPCSEC_GSS_DESTROY messages are not sent.

Signed-off-by: Andy Adamson <andros@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
net/sunrpc/auth_gss/auth_gss.c

index 97912b40c254d8a270e18f71e9e5b714e0dbcba8..42fdfc634e568a58bda35d2dbb1effbf44dd1bd4 100644 (file)
@@ -1517,7 +1517,7 @@ out:
 static int
 gss_refresh_null(struct rpc_task *task)
 {
-       return -EACCES;
+       return 0;
 }
 
 static __be32 *