• Chuck Lever's avatar
    SUNRPC: Clean up debug messages in rpcb_clnt.c · db820d63
    Chuck Lever authored
    The RPCB XDR functions are used for multiple procedures.  For instance,
    rpcb_encode_getaddr() is used for RPCB_GETADDR, RPCB_SET, and
    RPCB_UNSET.  Make the XDR debug messages more generic so they are less
    confusing.
    
    And, unlike in other RPC consumers in the kernel, a single debug flag
    enables all levels of debug messages in the RPC bind client, including
    XDR debug messages.  Since the XDR decoders already report success or
    failure in this case, remove redundant debug messages in the mid-level
    rpcb_register_call() function.
    Signed-off-by: default avatarChuck Lever <chuck.lever@oracle.com>
    Signed-off-by: default avatarJ. Bruce Fields <bfields@citi.umich.edu>
    db820d63
rpcb_clnt.c 22.4 KB