mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-12-27 12:21:22 -05:00
sunrpc: remove SVC_SYSERR
Nothing returns this error code. Signed-off-by: Jeff Layton <jlayton@kernel.org> Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
This commit is contained in:
@@ -86,7 +86,6 @@ struct auth_domain {
|
||||
|
||||
enum svc_auth_status {
|
||||
SVC_GARBAGE = 1,
|
||||
SVC_SYSERR,
|
||||
SVC_VALID,
|
||||
SVC_NEGATIVE,
|
||||
SVC_OK,
|
||||
|
||||
@@ -1691,7 +1691,6 @@ SVC_RQST_FLAG_LIST
|
||||
__print_flags(flags, "|", SVC_RQST_FLAG_LIST)
|
||||
|
||||
TRACE_DEFINE_ENUM(SVC_GARBAGE);
|
||||
TRACE_DEFINE_ENUM(SVC_SYSERR);
|
||||
TRACE_DEFINE_ENUM(SVC_VALID);
|
||||
TRACE_DEFINE_ENUM(SVC_NEGATIVE);
|
||||
TRACE_DEFINE_ENUM(SVC_OK);
|
||||
@@ -1704,7 +1703,6 @@ TRACE_DEFINE_ENUM(SVC_COMPLETE);
|
||||
#define show_svc_auth_status(status) \
|
||||
__print_symbolic(status, \
|
||||
{ SVC_GARBAGE, "SVC_GARBAGE" }, \
|
||||
{ SVC_SYSERR, "SVC_SYSERR" }, \
|
||||
{ SVC_VALID, "SVC_VALID" }, \
|
||||
{ SVC_NEGATIVE, "SVC_NEGATIVE" }, \
|
||||
{ SVC_OK, "SVC_OK" }, \
|
||||
|
||||
@@ -1375,8 +1375,6 @@ svc_process_common(struct svc_rqst *rqstp)
|
||||
case SVC_GARBAGE:
|
||||
rqstp->rq_auth_stat = rpc_autherr_badcred;
|
||||
goto err_bad_auth;
|
||||
case SVC_SYSERR:
|
||||
goto err_system_err;
|
||||
case SVC_DENIED:
|
||||
goto err_bad_auth;
|
||||
case SVC_CLOSE:
|
||||
@@ -1515,12 +1513,6 @@ svc_process_common(struct svc_rqst *rqstp)
|
||||
serv->sv_stats->rpcbadfmt++;
|
||||
*rqstp->rq_accept_statp = rpc_proc_unavail;
|
||||
goto sendit;
|
||||
|
||||
err_system_err:
|
||||
if (serv->sv_stats)
|
||||
serv->sv_stats->rpcbadfmt++;
|
||||
*rqstp->rq_accept_statp = rpc_system_err;
|
||||
goto sendit;
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user