mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-24 04:50:53 +07:00
Lockd: add more debug to host shutdown functions
Signed-off-by: Stanislav Kinsbursky <skinsbursky@parallels.com> Signed-off-by: J. Bruce Fields <bfields@redhat.com>
This commit is contained in:
parent
d5850ff9ea
commit
e2edaa98cb
@ -608,11 +608,10 @@ nlm_shutdown_hosts_net(struct net *net)
|
||||
struct hlist_node *pos;
|
||||
struct nlm_host *host;
|
||||
|
||||
dprintk("lockd: shutting down host module\n");
|
||||
mutex_lock(&nlm_host_mutex);
|
||||
|
||||
/* First, make all hosts eligible for gc */
|
||||
dprintk("lockd: nuking all hosts...\n");
|
||||
dprintk("lockd: nuking all hosts in net %p...\n", net);
|
||||
for_each_host(host, pos, chain, nlm_server_hosts) {
|
||||
if (net && host->net != net)
|
||||
continue;
|
||||
@ -637,6 +636,7 @@ nlm_shutdown_hosts_net(struct net *net)
|
||||
void
|
||||
nlm_shutdown_hosts(void)
|
||||
{
|
||||
dprintk("lockd: shutting down host module\n");
|
||||
nlm_shutdown_hosts_net(NULL);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user