Skip to content

Commit e2edaa9

Browse files
Stanislav KinsburskyJ. Bruce Fields
authored andcommitted
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>
1 parent d5850ff commit e2edaa9

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎fs/lockd/host.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -608,11 +608,10 @@ nlm_shutdown_hosts_net(struct net *net)
608608
struct hlist_node *pos;
609609
struct nlm_host *host;
610610

611-
dprintk("lockd: shutting down host module\n");
612611
mutex_lock(&nlm_host_mutex);
613612

614613
/* First, make all hosts eligible for gc */
615-
dprintk("lockd: nuking all hosts...\n");
614+
dprintk("lockd: nuking all hosts in net %p...\n", net);
616615
for_each_host(host, pos, chain, nlm_server_hosts) {
617616
if (net && host->net != net)
618617
continue;
@@ -637,6 +636,7 @@ nlm_shutdown_hosts_net(struct net *net)
637636
void
638637
nlm_shutdown_hosts(void)
639638
{
639+
dprintk("lockd: shutting down host module\n");
640640
nlm_shutdown_hosts_net(NULL);
641641
}
642642

0 commit comments

Comments
 (0)