diff options
author | Chuck Lever <cel@netapp.com> | 2005-11-01 12:24:48 -0500 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2005-11-04 15:39:45 -0500 |
commit | c556b754967afd0878d65de2cfe0675577b0f62f (patch) | |
tree | fac27d23ff5230bef203fa30f26ba9faee56d987 /net/sunrpc/xprtsock.c | |
parent | 6bfc93ef98f00b38f1913a7fdeae46ae8dbd7c52 (diff) |
SUNRPC: allow sunrpc.o to link when CONFIG_SYSCTL is disabled
The sunrpc module should build properly even when CONFIG_SYSCTL is
disabled.
Reported by Jan-Benedict Glaw.
Test plan:
Compile kernel with CONFIG_NFS as a module and built-in, and CONFIG_SYSCTL
enabled and disabled.
Signed-off-by: Chuck Lever <cel@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'net/sunrpc/xprtsock.c')
-rw-r--r-- | net/sunrpc/xprtsock.c | 9 |
1 files changed, 9 insertions, 0 deletions
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 | */ |