diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2023-07-30 02:58:54 +0200 |
---|---|---|
committer | Chuck Lever <chuck.lever@oracle.com> | 2023-08-29 23:45:22 +0200 |
commit | 78c542f916bccafffef4f3bec9bc60d7cda548f5 (patch) | |
tree | d50cb1dd414ff4ce2228719e0154dc85b2237725 /README | |
parent | SUNRPC: change svc_xprt::xpt_flags bits to enum (diff) | |
download | linux-78c542f916bccafffef4f3bec9bc60d7cda548f5.tar.xz linux-78c542f916bccafffef4f3bec9bc60d7cda548f5.zip |
SUNRPC: Add enum svc_auth_status
In addition to the benefits of using an enum rather than a set of
macros, we now have a named type that can improve static type
checking of function return values.
As part of this change, I removed a stale comment from svcauth.h;
the return values from current implementations of the
auth_ops::release method are all zero/negative errno, not the SVC_OK
enum values as the old comment suggested.
Suggested-by: NeilBrown <neilb@suse.de>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions