summaryrefslogtreecommitdiffstats
path: root/fs/nfs/callback.c
diff options
context:
space:
mode:
authorTrond Myklebust <Trond.Myklebust@netapp.com>2006-03-20 13:44:46 -0500
committerTrond Myklebust <Trond.Myklebust@netapp.com>2006-03-20 13:44:46 -0500
commitf25bc34967d76610d17bc70769d7c220976eeeb1 (patch)
treef967791903a28f75968a7ce641f9a61502c037ba /fs/nfs/callback.c
parent6041b79192bdf0e7ab18ea6859effa5d8311391b (diff)
downloadlinux-f25bc34967d76610d17bc70769d7c220976eeeb1.tar.gz
linux-f25bc34967d76610d17bc70769d7c220976eeeb1.tar.bz2
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();