android_kernel_xiaomi_sm8350/include/linux/sunrpc
Chuck Lever 14aeb2118d SUNRPC: Simplify rpcb_register() API
Bruce suggested there's no need to expose the difference between an error
sending the PMAP_SET request and an error reply from the portmapper to
rpcb_register's callers.  The user space equivalent of rpcb_register() is
pmap_set(3), which returns a bool_t : either the PMAP set worked, or it
didn't.  Simple.

So let's remove the "*okay" argument from rpcb_register() and
rpcb_v4_register(), and simply return an error if any part of the call
didn't work.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
2008-09-29 18:13:37 -04:00
..
auth_gss.h
auth.h
cache.h
clnt.h SUNRPC: Simplify rpcb_register() API 2008-09-29 18:13:37 -04:00
debug.h
gss_api.h
gss_asn1.h
gss_err.h
gss_krb5.h
gss_spkm3.h
Kbuild
metrics.h
msg_prot.h
rpc_pipe_fs.h
rpc_rdma.h
sched.h
stats.h
svc_rdma.h
svc_xprt.h
svc.h
svcauth_gss.h
svcauth.h
svcsock.h
timer.h
types.h
xdr.h
xprt.h
xprtrdma.h
xprtsock.h