Loading fs/lockd/host.c +2 −2 Original line number Original line Diff line number Diff line Loading @@ -608,11 +608,10 @@ nlm_shutdown_hosts_net(struct net *net) struct hlist_node *pos; struct hlist_node *pos; struct nlm_host *host; struct nlm_host *host; dprintk("lockd: shutting down host module\n"); mutex_lock(&nlm_host_mutex); mutex_lock(&nlm_host_mutex); /* First, make all hosts eligible for gc */ /* 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) { for_each_host(host, pos, chain, nlm_server_hosts) { if (net && host->net != net) if (net && host->net != net) continue; continue; Loading @@ -637,6 +636,7 @@ nlm_shutdown_hosts_net(struct net *net) void void nlm_shutdown_hosts(void) nlm_shutdown_hosts(void) { { dprintk("lockd: shutting down host module\n"); nlm_shutdown_hosts_net(NULL); nlm_shutdown_hosts_net(NULL); } } Loading Loading
fs/lockd/host.c +2 −2 Original line number Original line Diff line number Diff line Loading @@ -608,11 +608,10 @@ nlm_shutdown_hosts_net(struct net *net) struct hlist_node *pos; struct hlist_node *pos; struct nlm_host *host; struct nlm_host *host; dprintk("lockd: shutting down host module\n"); mutex_lock(&nlm_host_mutex); mutex_lock(&nlm_host_mutex); /* First, make all hosts eligible for gc */ /* 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) { for_each_host(host, pos, chain, nlm_server_hosts) { if (net && host->net != net) if (net && host->net != net) continue; continue; Loading @@ -637,6 +636,7 @@ nlm_shutdown_hosts_net(struct net *net) void void nlm_shutdown_hosts(void) nlm_shutdown_hosts(void) { { dprintk("lockd: shutting down host module\n"); nlm_shutdown_hosts_net(NULL); nlm_shutdown_hosts_net(NULL); } } Loading