aboutsummaryrefslogtreecommitdiffstats
path: root/fs/lockd/svc.c
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2008-12-11 17:56:29 -0500
committerJ. Bruce Fields <bfields@citi.umich.edu>2009-01-06 11:53:55 -0500
commitb7ba597fb964dfa44284904b3b3d74d44b8e1c42 (patch)
treea03c62f761cc823c29b9bafd083490b2a3627986 /fs/lockd/svc.c
parent8529bc51d30b8f001734b29b21a51b579c260f5b (diff)
NSM: Move nsm_use_hostnames to mon.c
Clean up. Treat the nsm_use_hostnames global variable like nsm_local_state. Note that the default value of nsm_use_hostnames is still zero. Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Diffstat (limited to 'fs/lockd/svc.c')
-rw-r--r--fs/lockd/svc.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/lockd/svc.c b/fs/lockd/svc.c
index 0b13392931a6..7ac7d72e3b5f 100644
--- a/fs/lockd/svc.c
+++ b/fs/lockd/svc.c
@@ -59,7 +59,6 @@ unsigned long nlmsvc_timeout;
59static unsigned long nlm_grace_period; 59static unsigned long nlm_grace_period;
60static unsigned long nlm_timeout = LOCKD_DFLT_TIMEO; 60static unsigned long nlm_timeout = LOCKD_DFLT_TIMEO;
61static int nlm_udpport, nlm_tcpport; 61static int nlm_udpport, nlm_tcpport;
62int nsm_use_hostnames = 0;
63 62
64/* RLIM_NOFILE defaults to 1024. That seems like a reasonable default here. */ 63/* RLIM_NOFILE defaults to 1024. That seems like a reasonable default here. */
65static unsigned int nlm_max_connections = 1024; 64static unsigned int nlm_max_connections = 1024;