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>
This commit is contained in:

committed by
J. Bruce Fields

parent
8529bc51d3
commit
b7ba597fb9
@@ -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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user