diff options
Diffstat (limited to 'net/sunrpc')
-rw-r--r-- | net/sunrpc/sunrpc_syms.c | 2 | ||||
-rw-r--r-- | net/sunrpc/sysctl.c | 7 | ||||
-rw-r--r-- | net/sunrpc/xprtsock.c | 9 |
3 files changed, 9 insertions, 9 deletions
diff --git a/net/sunrpc/sunrpc_syms.c b/net/sunrpc/sunrpc_syms.c index 2387e7b823ff..a03d4b600c92 100644 --- a/net/sunrpc/sunrpc_syms.c +++ b/net/sunrpc/sunrpc_syms.c | |||
@@ -63,8 +63,6 @@ EXPORT_SYMBOL(rpc_mkpipe); | |||
63 | /* Client transport */ | 63 | /* Client transport */ |
64 | EXPORT_SYMBOL(xprt_create_proto); | 64 | EXPORT_SYMBOL(xprt_create_proto); |
65 | EXPORT_SYMBOL(xprt_set_timeout); | 65 | EXPORT_SYMBOL(xprt_set_timeout); |
66 | EXPORT_SYMBOL(xprt_udp_slot_table_entries); | ||
67 | EXPORT_SYMBOL(xprt_tcp_slot_table_entries); | ||
68 | 66 | ||
69 | /* Client credential cache */ | 67 | /* Client credential cache */ |
70 | EXPORT_SYMBOL(rpcauth_register); | 68 | EXPORT_SYMBOL(rpcauth_register); |
diff --git a/net/sunrpc/sysctl.c b/net/sunrpc/sysctl.c index d0c9f460e411..1065904841fd 100644 --- a/net/sunrpc/sysctl.c +++ b/net/sunrpc/sysctl.c | |||
@@ -119,13 +119,6 @@ done: | |||
119 | return 0; | 119 | return 0; |
120 | } | 120 | } |
121 | 121 | ||
122 | unsigned int xprt_udp_slot_table_entries = RPC_DEF_SLOT_TABLE; | ||
123 | unsigned int xprt_tcp_slot_table_entries = RPC_DEF_SLOT_TABLE; | ||
124 | unsigned int xprt_min_resvport = RPC_DEF_MIN_RESVPORT; | ||
125 | EXPORT_SYMBOL(xprt_min_resvport); | ||
126 | unsigned int xprt_max_resvport = RPC_DEF_MAX_RESVPORT; | ||
127 | EXPORT_SYMBOL(xprt_max_resvport); | ||
128 | |||
129 | 122 | ||
130 | static unsigned int min_slot_table_size = RPC_MIN_SLOT_TABLE; | 123 | static unsigned int min_slot_table_size = RPC_MIN_SLOT_TABLE; |
131 | static unsigned int max_slot_table_size = RPC_MAX_SLOT_TABLE; | 124 | static unsigned int max_slot_table_size = RPC_MAX_SLOT_TABLE; |
diff --git a/net/sunrpc/xprtsock.c b/net/sunrpc/xprtsock.c index 2e1529217e65..0a51fd46a848 100644 --- a/net/sunrpc/xprtsock.c +++ b/net/sunrpc/xprtsock.c | |||
@@ -36,6 +36,15 @@ | |||
36 | #include <net/tcp.h> | 36 | #include <net/tcp.h> |
37 | 37 | ||
38 | /* | 38 | /* |
39 | * xprtsock tunables | ||
40 | */ | ||
41 | unsigned int xprt_udp_slot_table_entries = RPC_DEF_SLOT_TABLE; | ||
42 | unsigned int xprt_tcp_slot_table_entries = RPC_DEF_SLOT_TABLE; | ||
43 | |||
44 | unsigned int xprt_min_resvport = RPC_DEF_MIN_RESVPORT; | ||
45 | unsigned int xprt_max_resvport = RPC_DEF_MAX_RESVPORT; | ||
46 | |||
47 | /* | ||
39 | * How many times to try sending a request on a socket before waiting | 48 | * How many times to try sending a request on a socket before waiting |
40 | * for the socket buffer to clear. | 49 | * for the socket buffer to clear. |
41 | */ | 50 | */ |