summaryrefslogtreecommitdiffstats
path: root/fs/nfs/callback.c
diff options
context:
space:
mode:
authorStanislav Kinsbursky <skinsbursky@parallels.com>2012-08-20 16:00:51 +0200
committerTrond Myklebust <Trond.Myklebust@netapp.com>2012-10-02 00:26:06 +0200
commit1dc42e04b75779d321f1d17dca3873004066f667 (patch)
treebcc237f2567f5988b81caf45b4bb22befa82d47e /fs/nfs/callback.c
parentNFS: callback per-net usage counting introduced (diff)
downloadlinux-1dc42e04b75779d321f1d17dca3873004066f667.tar.xz
linux-1dc42e04b75779d321f1d17dca3873004066f667.zip
NFS: add debug messages to callback down function
Signed-off-by: Stanislav Kinsbursky <skinsbursky@parallels.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to '')
-rw-r--r--fs/nfs/callback.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/nfs/callback.c b/fs/nfs/callback.c
index 6dfdc8311f27..8ed0bc8cffb6 100644
--- a/fs/nfs/callback.c
+++ b/fs/nfs/callback.c
@@ -410,7 +410,9 @@ void nfs_callback_down(int minorversion, struct net *net)
cb_info->users--;
if (cb_info->users == 0 && cb_info->task != NULL) {
kthread_stop(cb_info->task);
+ dprintk("nfs_callback_down: service stopped\n");
svc_exit_thread(cb_info->rqst);
+ dprintk("nfs_callback_down: service destroyed\n");
cb_info->serv = NULL;
cb_info->rqst = NULL;
cb_info->task = NULL;