summaryrefslogtreecommitdiffstats
path: root/fs/nfs/callback.c
diff options
context:
space:
mode:
authorTrond Myklebust2006-03-20 19:44:46 +0100
committerTrond Myklebust2006-03-20 19:44:46 +0100
commitf25bc34967d76610d17bc70769d7c220976eeeb1 (patch)
treef967791903a28f75968a7ce641f9a61502c037ba /fs/nfs/callback.c
parentlockd: Fix a typo in nlmsvc_grant_release() (diff)
downloadkernel-qcow2-linux-f25bc34967d76610d17bc70769d7c220976eeeb1.tar.gz
kernel-qcow2-linux-f25bc34967d76610d17bc70769d7c220976eeeb1.tar.xz
kernel-qcow2-linux-f25bc34967d76610d17bc70769d7c220976eeeb1.zip
NFSv4: Ensure nfs_callback_down() calls svc_destroy()
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/callback.c')
-rw-r--r--fs/nfs/callback.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/nfs/callback.c b/fs/nfs/callback.c
index fcd97406a778..2c042f8d70b5 100644
--- a/fs/nfs/callback.c
+++ b/fs/nfs/callback.c
@@ -73,6 +73,7 @@ static void nfs_callback_svc(struct svc_rqst *rqstp)
svc_process(serv, rqstp);
}
+ svc_exit_thread(rqstp);
nfs_callback_info.pid = 0;
complete(&nfs_callback_info.stopped);
unlock_kernel();