• Chuck Lever's avatar
    SUNRPC: Add enum svc_auth_status · 78c542f9
    Chuck Lever authored
    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: default avatarNeilBrown <neilb@suse.de>
    Signed-off-by: default avatarChuck Lever <chuck.lever@oracle.com>
    78c542f9
svc.c 41.8 KB