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 97912b4..42fdfc6 100644 (file)
@@ -1517,7 +1517,7 @@ out:
 static int
 gss_refresh_null(struct rpc_task *task)
 {
-       return -EACCES;
+       return 0;
 }
 
 static __be32 *