NFS: add debug messages to callback down function
authorStanislav Kinsbursky <skinsbursky@parallels.com>
Mon, 20 Aug 2012 14:00:51 +0000 (18:00 +0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Mon, 1 Oct 2012 22:26:06 +0000 (15:26 -0700)
Signed-off-by: Stanislav Kinsbursky <skinsbursky@parallels.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/callback.c

index 6dfdc8311f27a01ee3b8f71d4d50e6c38a4a8886..8ed0bc8cffb641ed96d5a2c573a430c3ee4f36b8 100644 (file)
@@ -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;