diff options
author | Andy Adamson <andros@netapp.com> | 2013-11-20 13:00:17 -0500 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2013-11-26 11:41:23 -0500 |
commit | c297c8b99b07f496ff69a719cfb8e8fe852832ed (patch) | |
tree | b357f331d166179e59916c5ce4c365e7f0d96db3 | |
parent | 69794ad70cd3b600319f175fc0cbe7abd510791f (diff) | |
download | kernel-common-c297c8b99b07f496ff69a719cfb8e8fe852832ed.tar.gz kernel-common-c297c8b99b07f496ff69a719cfb8e8fe852832ed.tar.bz2 kernel-common-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>
-rw-r--r-- | net/sunrpc/auth_gss/auth_gss.c | 2 |
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 * |