aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fs/lockd/mon.c3
-rw-r--r--fs/lockd/svc.c1
2 files changed, 2 insertions, 2 deletions
diff --git a/fs/lockd/mon.c b/fs/lockd/mon.c
index 43be31c4a2d..fafa0ea7193 100644
--- a/fs/lockd/mon.c
+++ b/fs/lockd/mon.c
@@ -53,7 +53,8 @@ static DEFINE_SPINLOCK(nsm_lock);
53/* 53/*
54 * Local NSM state 54 * Local NSM state
55 */ 55 */
56int nsm_local_state; 56int __read_mostly nsm_local_state;
57int __read_mostly nsm_use_hostnames;
57 58
58static inline struct sockaddr *nsm_addr(const struct nsm_handle *nsm) 59static inline struct sockaddr *nsm_addr(const struct nsm_handle *nsm)
59{ 60{
diff --git a/fs/lockd/svc.c b/fs/lockd/svc.c
index 0b13392931a..7ac7d72e3b5 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;