diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2008-12-11 23:56:29 +0100 |
---|---|---|
committer | J. Bruce Fields <bfields@citi.umich.edu> | 2009-01-06 17:53:55 +0100 |
commit | b7ba597fb964dfa44284904b3b3d74d44b8e1c42 (patch) | |
tree | a03c62f761cc823c29b9bafd083490b2a3627986 /fs/lockd/mon.c | |
parent | NSM: Move nsm_addr() to fs/lockd/mon.c (diff) | |
download | linux-b7ba597fb964dfa44284904b3b3d74d44b8e1c42.tar.xz linux-b7ba597fb964dfa44284904b3b3d74d44b8e1c42.zip |
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/mon.c')
-rw-r--r-- | fs/lockd/mon.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/lockd/mon.c b/fs/lockd/mon.c index 43be31c4a2de..fafa0ea71938 100644 --- a/fs/lockd/mon.c +++ b/fs/lockd/mon.c @@ -53,7 +53,8 @@ static DEFINE_SPINLOCK(nsm_lock); /* * Local NSM state */ -int nsm_local_state; +int __read_mostly nsm_local_state; +int __read_mostly nsm_use_hostnames; static inline struct sockaddr *nsm_addr(const struct nsm_handle *nsm) { |