Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

Jeff Layton and committed by
Chuck Lever
6f0e2624 d49afc90

-11
-1
include/linux/sunrpc/svcauth.h
··· 86 86 87 87 enum svc_auth_status { 88 88 SVC_GARBAGE = 1, 89 - SVC_SYSERR, 90 89 SVC_VALID, 91 90 SVC_NEGATIVE, 92 91 SVC_OK,
-2
include/trace/events/sunrpc.h
··· 1691 1691 __print_flags(flags, "|", SVC_RQST_FLAG_LIST) 1692 1692 1693 1693 TRACE_DEFINE_ENUM(SVC_GARBAGE); 1694 - TRACE_DEFINE_ENUM(SVC_SYSERR); 1695 1694 TRACE_DEFINE_ENUM(SVC_VALID); 1696 1695 TRACE_DEFINE_ENUM(SVC_NEGATIVE); 1697 1696 TRACE_DEFINE_ENUM(SVC_OK); ··· 1703 1704 #define show_svc_auth_status(status) \ 1704 1705 __print_symbolic(status, \ 1705 1706 { SVC_GARBAGE, "SVC_GARBAGE" }, \ 1706 - { SVC_SYSERR, "SVC_SYSERR" }, \ 1707 1707 { SVC_VALID, "SVC_VALID" }, \ 1708 1708 { SVC_NEGATIVE, "SVC_NEGATIVE" }, \ 1709 1709 { SVC_OK, "SVC_OK" }, \
-8
net/sunrpc/svc.c
··· 1375 1375 case SVC_GARBAGE: 1376 1376 rqstp->rq_auth_stat = rpc_autherr_badcred; 1377 1377 goto err_bad_auth; 1378 - case SVC_SYSERR: 1379 - goto err_system_err; 1380 1378 case SVC_DENIED: 1381 1379 goto err_bad_auth; 1382 1380 case SVC_CLOSE: ··· 1512 1514 if (serv->sv_stats) 1513 1515 serv->sv_stats->rpcbadfmt++; 1514 1516 *rqstp->rq_accept_statp = rpc_proc_unavail; 1515 - goto sendit; 1516 - 1517 - err_system_err: 1518 - if (serv->sv_stats) 1519 - serv->sv_stats->rpcbadfmt++; 1520 - *rqstp->rq_accept_statp = rpc_system_err; 1521 1517 goto sendit; 1522 1518 } 1523 1519