diff options
Diffstat (limited to 'net/sunrpc')
-rw-r--r-- | net/sunrpc/rpcb_clnt.c | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/net/sunrpc/rpcb_clnt.c b/net/sunrpc/rpcb_clnt.c index 24e93e0a0a22..0021fad464e0 100644 --- a/net/sunrpc/rpcb_clnt.c +++ b/net/sunrpc/rpcb_clnt.c | |||
@@ -426,6 +426,10 @@ static void rpcb_getport_done(struct rpc_task *child, void *data) | |||
426 | map->r_status = status; | 426 | map->r_status = status; |
427 | } | 427 | } |
428 | 428 | ||
429 | /* | ||
430 | * XDR functions for rpcbind | ||
431 | */ | ||
432 | |||
429 | static int rpcb_encode_mapping(struct rpc_rqst *req, __be32 *p, | 433 | static int rpcb_encode_mapping(struct rpc_rqst *req, __be32 *p, |
430 | struct rpcbind_args *rpcb) | 434 | struct rpcbind_args *rpcb) |
431 | { | 435 | { |
@@ -581,14 +585,14 @@ static struct rpc_procinfo rpcb_procedures2[] = { | |||
581 | }; | 585 | }; |
582 | 586 | ||
583 | static struct rpc_procinfo rpcb_procedures3[] = { | 587 | static struct rpc_procinfo rpcb_procedures3[] = { |
584 | PROC(SET, mapping, set), | 588 | PROC(SET, getaddr, set), |
585 | PROC(UNSET, mapping, set), | 589 | PROC(UNSET, getaddr, set), |
586 | PROC(GETADDR, getaddr, getaddr), | 590 | PROC(GETADDR, getaddr, getaddr), |
587 | }; | 591 | }; |
588 | 592 | ||
589 | static struct rpc_procinfo rpcb_procedures4[] = { | 593 | static struct rpc_procinfo rpcb_procedures4[] = { |
590 | PROC(SET, mapping, set), | 594 | PROC(SET, getaddr, set), |
591 | PROC(UNSET, mapping, set), | 595 | PROC(UNSET, getaddr, set), |
592 | PROC(GETADDR, getaddr, getaddr), | 596 | PROC(GETADDR, getaddr, getaddr), |
593 | PROC(GETVERSADDR, getaddr, getaddr), | 597 | PROC(GETVERSADDR, getaddr, getaddr), |
594 | }; | 598 | }; |