Commit e9b1c9c98c051f49a76dcd76f914c02653aecccb
Committed by
Trond Myklebust
1 parent
a509050bd3
Exists in
master
and in
7 other branches
SUNRPC: switch socket-based RPC transports to use rpcbind
Now that we have a version of the portmapper that supports versions 3 and 4 of the rpcbind protocol, use it for new RPC client connections over sockets. Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Showing 1 changed file with 2 additions and 2 deletions Side-by-side Diff
net/sunrpc/xprtsock.c
... | ... | @@ -1476,7 +1476,7 @@ |
1476 | 1476 | .set_buffer_size = xs_udp_set_buffer_size, |
1477 | 1477 | .reserve_xprt = xprt_reserve_xprt_cong, |
1478 | 1478 | .release_xprt = xprt_release_xprt_cong, |
1479 | - .rpcbind = rpc_getport, | |
1479 | + .rpcbind = rpcb_getport, | |
1480 | 1480 | .set_port = xs_set_port, |
1481 | 1481 | .connect = xs_connect, |
1482 | 1482 | .buf_alloc = rpc_malloc, |
... | ... | @@ -1493,7 +1493,7 @@ |
1493 | 1493 | static struct rpc_xprt_ops xs_tcp_ops = { |
1494 | 1494 | .reserve_xprt = xprt_reserve_xprt, |
1495 | 1495 | .release_xprt = xs_tcp_release_xprt, |
1496 | - .rpcbind = rpc_getport, | |
1496 | + .rpcbind = rpcb_getport, | |
1497 | 1497 | .set_port = xs_set_port, |
1498 | 1498 | .connect = xs_connect, |
1499 | 1499 | .buf_alloc = rpc_malloc, |