Commit b7ba597fb964dfa44284904b3b3d74d44b8e1c42
Committed by
J. Bruce Fields
1 parent
8529bc51d3
Exists in
master
and in
4 other branches
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>
Showing 2 changed files with 2 additions and 2 deletions Side-by-side Diff
fs/lockd/mon.c
fs/lockd/svc.c
... | ... | @@ -59,7 +59,6 @@ |
59 | 59 | static unsigned long nlm_grace_period; |
60 | 60 | static unsigned long nlm_timeout = LOCKD_DFLT_TIMEO; |
61 | 61 | static int nlm_udpport, nlm_tcpport; |
62 | -int nsm_use_hostnames = 0; | |
63 | 62 | |
64 | 63 | /* RLIM_NOFILE defaults to 1024. That seems like a reasonable default here. */ |
65 | 64 | static unsigned int nlm_max_connections = 1024; |