aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2007-08-06 11:57:07 -0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2007-10-09 17:15:55 -0400
commitba10f2c23471b2ef106eb0c71ead4e9862766b8d (patch)
tree9c29bd7f858bda3cdbcd65dfa4df8e703fa469cc /net
parentfbfe3cc677c1a62ca6472abf24d03d4bf9f03a55 (diff)
SUNRPC: Rename xs_format_peer_addresses
Prepare to add an IPv6 version of xs_format_peer_addresses by renaming it to xs_format_ipv4_peer_addresses. Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Cc: Aurelien Charbon <aurelien.charbon@ext.bull.net> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'net')
-rw-r--r--net/sunrpc/xprtsock.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/net/sunrpc/xprtsock.c b/net/sunrpc/xprtsock.c
index 8a684d873111..45fac56b40f9 100644
--- a/net/sunrpc/xprtsock.c
+++ b/net/sunrpc/xprtsock.c
@@ -260,7 +260,7 @@ struct sock_xprt {
260#define TCP_RCV_COPY_XID (1UL << 2) 260#define TCP_RCV_COPY_XID (1UL << 2)
261#define TCP_RCV_COPY_DATA (1UL << 3) 261#define TCP_RCV_COPY_DATA (1UL << 3)
262 262
263static void xs_format_peer_addresses(struct rpc_xprt *xprt) 263static void xs_format_ipv4_peer_addresses(struct rpc_xprt *xprt)
264{ 264{
265 struct sockaddr_in *addr = (struct sockaddr_in *) &xprt->addr; 265 struct sockaddr_in *addr = (struct sockaddr_in *) &xprt->addr;
266 char *buf; 266 char *buf;
@@ -1600,7 +1600,7 @@ struct rpc_xprt *xs_setup_udp(struct rpc_xprtsock_create *args)
1600 else 1600 else
1601 xprt_set_timeout(&xprt->timeout, 5, 5 * HZ); 1601 xprt_set_timeout(&xprt->timeout, 5, 5 * HZ);
1602 1602
1603 xs_format_peer_addresses(xprt); 1603 xs_format_ipv4_peer_addresses(xprt);
1604 dprintk("RPC: set up transport to address %s\n", 1604 dprintk("RPC: set up transport to address %s\n",
1605 xprt->address_strings[RPC_DISPLAY_ALL]); 1605 xprt->address_strings[RPC_DISPLAY_ALL]);
1606 1606
@@ -1642,7 +1642,7 @@ struct rpc_xprt *xs_setup_tcp(struct rpc_xprtsock_create *args)
1642 else 1642 else
1643 xprt_set_timeout(&xprt->timeout, 2, 60 * HZ); 1643 xprt_set_timeout(&xprt->timeout, 2, 60 * HZ);
1644 1644
1645 xs_format_peer_addresses(xprt); 1645 xs_format_ipv4_peer_addresses(xprt);
1646 dprintk("RPC: set up transport to address %s\n", 1646 dprintk("RPC: set up transport to address %s\n",
1647 xprt->address_strings[RPC_DISPLAY_ALL]); 1647 xprt->address_strings[RPC_DISPLAY_ALL]);
1648 1648