aboutsummaryrefslogtreecommitdiffstats
path: root/net/sunrpc/xprtsock.c
diff options
context:
space:
mode:
author\"Talpey, Thomas\ <Thomas.Talpey@netapp.com>2007-09-10 13:47:07 -0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2007-10-09 17:17:45 -0400
commit3c341b0b925eee01daae2c594b81e673f659d7cd (patch)
tree029db06dc895097b88c6765d349ce254db333bfd /net/sunrpc/xprtsock.c
parentbc25571e21e8bd053554209f5b1b228ad71e6b99 (diff)
SUNRPC: rename the rpc_xprtsock_create structure
To prepare for including non-sockets-based RPC transports, change the overly suggestive name of the transport creation arguments struct. Signed-off-by: Tom Talpey <tmt@netapp.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'net/sunrpc/xprtsock.c')
-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 3bc9c921c82f..4f1a57b28a49 100644
--- a/net/sunrpc/xprtsock.c
+++ b/net/sunrpc/xprtsock.c
@@ -1784,7 +1784,7 @@ static struct rpc_xprt_ops xs_tcp_ops = {
1784 .print_stats = xs_tcp_print_stats, 1784 .print_stats = xs_tcp_print_stats,
1785}; 1785};
1786 1786
1787static struct rpc_xprt *xs_setup_xprt(struct rpc_xprtsock_create *args, 1787static struct rpc_xprt *xs_setup_xprt(struct xprt_create *args,
1788 unsigned int slot_table_size) 1788 unsigned int slot_table_size)
1789{ 1789{
1790 struct rpc_xprt *xprt; 1790 struct rpc_xprt *xprt;
@@ -1826,7 +1826,7 @@ static struct rpc_xprt *xs_setup_xprt(struct rpc_xprtsock_create *args,
1826 * @args: rpc transport creation arguments 1826 * @args: rpc transport creation arguments
1827 * 1827 *
1828 */ 1828 */
1829struct rpc_xprt *xs_setup_udp(struct rpc_xprtsock_create *args) 1829struct rpc_xprt *xs_setup_udp(struct xprt_create *args)
1830{ 1830{
1831 struct sockaddr *addr = args->dstaddr; 1831 struct sockaddr *addr = args->dstaddr;
1832 struct rpc_xprt *xprt; 1832 struct rpc_xprt *xprt;
@@ -1892,7 +1892,7 @@ struct rpc_xprt *xs_setup_udp(struct rpc_xprtsock_create *args)
1892 * @args: rpc transport creation arguments 1892 * @args: rpc transport creation arguments
1893 * 1893 *
1894 */ 1894 */
1895struct rpc_xprt *xs_setup_tcp(struct rpc_xprtsock_create *args) 1895struct rpc_xprt *xs_setup_tcp(struct xprt_create *args)
1896{ 1896{
1897 struct sockaddr *addr = args->dstaddr; 1897 struct sockaddr *addr = args->dstaddr;
1898 struct rpc_xprt *xprt; 1898 struct rpc_xprt *xprt;