From: Andy Adamson Date: Wed, 20 Nov 2013 18:00:17 +0000 (-0500) Subject: SUNRPC: do not fail gss proc NULL calls with EACCES X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=c297c8b99b07f496ff69a719cfb8e8fe852832ed;p=linux-beck.git SUNRPC: do not fail gss proc NULL calls with EACCES Otherwise RPCSEC_GSS_DESTROY messages are not sent. Signed-off-by: Andy Adamson Signed-off-by: Trond Myklebust --- 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 *