diff options
author | Vasily Averin | 2017-10-30 16:47:58 +0300 |
---|---|---|
committer | J. Bruce Fields | 2017-11-27 16:45:11 -0500 |
commit | 9e137ed5abcb21c0efffb1b6a7c48f2d21980303 (patch) | |
tree | cfb039d2f48934c81e5c6cff2726176606cd6e64 /fs/lockd/host.c | |
parent | 2317dc557a3b6d5b73b697034611d658eb2cbde9 (diff) |
nlm_shutdown_hosts_net() cleanup
nlm_complain_hosts() walks through nlm_server_hosts hlist, which should
be protected by nlm_host_mutex.
Signed-off-by: Vasily Averin <vvs@virtuozzo.com>
Reviewed-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/lockd/host.c')
-rw-r--r-- | fs/lockd/host.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/lockd/host.c b/fs/lockd/host.c index f90f6d5082ef..826a89184f90 100644 --- a/fs/lockd/host.c +++ b/fs/lockd/host.c @@ -621,9 +621,8 @@ nlm_shutdown_hosts_net(struct net *net) /* Then, perform a garbage collection pass */ nlm_gc_hosts(net); - mutex_unlock(&nlm_host_mutex); - nlm_complain_hosts(net); + mutex_unlock(&nlm_host_mutex); } /* |