diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2021-07-15 22:52:19 +0300 |
---|---|---|
committer | Anna Schumaker <Anna.Schumaker@Netapp.com> | 2021-08-10 21:18:35 +0300 |
commit | 9082e1d914f8b27114352b1940bbcc7522f682e7 (patch) | |
tree | 01998e00d4ea84c91db1f13ec15a7cf57a50c783 /fs/nfs/callback_xdr.c | |
parent | 5c2465dfd457f3015eebcc3ace50570e1d896aeb (diff) | |
download | linux-9082e1d914f8b27114352b1940bbcc7522f682e7.tar.xz |
SUNRPC: Eliminate the RQ_AUTHERR flag
Now that there is an alternate method for returning an auth_stat
value, replace the RQ_AUTHERR flag with use of that new method.
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'fs/nfs/callback_xdr.c')
-rw-r--r-- | fs/nfs/callback_xdr.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/nfs/callback_xdr.c b/fs/nfs/callback_xdr.c index c5348ba81129..7ff99155b023 100644 --- a/fs/nfs/callback_xdr.c +++ b/fs/nfs/callback_xdr.c @@ -988,7 +988,8 @@ static __be32 nfs4_callback_compound(struct svc_rqst *rqstp) out_invalidcred: pr_warn_ratelimited("NFS: NFSv4 callback contains invalid cred\n"); - return svc_return_autherr(rqstp, rpc_autherr_badcred); + rqstp->rq_auth_stat = rpc_autherr_badcred; + return rpc_success; } /* |