aboutsummaryrefslogtreecommitdiffstats
path: root/fs/lockd/host.c
diff options
context:
space:
mode:
authorStanislav Kinsbursky <skinsbursky@parallels.com>2012-07-25 08:56:35 -0400
committerJ. Bruce Fields <bfields@redhat.com>2012-07-27 16:48:44 -0400
commite2edaa98cb2527c0f1c2d825ddb45a8b2d026669 (patch)
tree864a1895480b97debc38efb79f5baefd9d2944ad /fs/lockd/host.c
parentd5850ff9eaaa9bed0f0b56702db105e02ce4b709 (diff)
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>
Diffstat (limited to 'fs/lockd/host.c')
-rw-r--r--fs/lockd/host.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/lockd/host.c b/fs/lockd/host.c
index 8cbf53d2c1bb..0084ab853a2b 100644
--- a/fs/lockd/host.c
+++ b/fs/lockd/host.c
@@ -608,11 +608,10 @@ nlm_shutdown_hosts_net(struct net *net)
608 struct hlist_node *pos; 608 struct hlist_node *pos;
609 struct nlm_host *host; 609 struct nlm_host *host;
610 610
611 dprintk("lockd: shutting down host module\n");
612 mutex_lock(&nlm_host_mutex); 611 mutex_lock(&nlm_host_mutex);
613 612
614 /* First, make all hosts eligible for gc */ 613 /* 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);
616 for_each_host(host, pos, chain, nlm_server_hosts) { 615 for_each_host(host, pos, chain, nlm_server_hosts) {
617 if (net && host->net != net) 616 if (net && host->net != net)
618 continue; 617 continue;
@@ -637,6 +636,7 @@ nlm_shutdown_hosts_net(struct net *net)
637void 636void
638nlm_shutdown_hosts(void) 637nlm_shutdown_hosts(void)
639{ 638{
639 dprintk("lockd: shutting down host module\n");
640 nlm_shutdown_hosts_net(NULL); 640 nlm_shutdown_hosts_net(NULL);
641} 641}
642 642