summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorAndy Adamson <andros@netapp.com>2013-11-20 19:00:17 +0100
committerTrond Myklebust <Trond.Myklebust@netapp.com>2013-11-26 17:41:23 +0100
commitc297c8b99b07f496ff69a719cfb8e8fe852832ed (patch)
treeb357f331d166179e59916c5ce4c365e7f0d96db3 /net
parentNFSv4: close needs to handle NFS4ERR_ADMIN_REVOKED (diff)
downloadlinux-c297c8b99b07f496ff69a719cfb8e8fe852832ed.tar.xz
linux-c297c8b99b07f496ff69a719cfb8e8fe852832ed.zip
SUNRPC: do not fail gss proc NULL calls with EACCES
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>
Diffstat (limited to 'net')
-rw-r--r--net/sunrpc/auth_gss/auth_gss.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sunrpc/auth_gss/auth_gss.c b/net/sunrpc/auth_gss/auth_gss.c
index 97912b40c254..42fdfc634e56 100644
--- a/net/sunrpc/auth_gss/auth_gss.c
+++ b/net/sunrpc/auth_gss/auth_gss.c
@@ -1517,7 +1517,7 @@ out:
static int
gss_refresh_null(struct rpc_task *task)
{
- return -EACCES;
+ return 0;
}
static __be32 *