summaryrefslogtreecommitdiffstats
path: root/fs/lockd/svc.c
diff options
context:
space:
mode:
authorTrond Myklebust <trond.myklebust@primarydata.com>2014-08-03 19:03:07 +0200
committerJ. Bruce Fields <bfields@redhat.com>2014-08-17 18:00:10 +0200
commitd6a7ce424f9e32b6a5589f6bb96e0d1381479d48 (patch)
tree5764619001ad3edff7deab8e46e2270e5b4d7246 /fs/lockd/svc.c
parentSUNRPC: Do not override wspace tests in svc_handle_xprt (diff)
downloadlinux-d6a7ce424f9e32b6a5589f6bb96e0d1381479d48.tar.xz
linux-d6a7ce424f9e32b6a5589f6bb96e0d1381479d48.zip
lockd: Ensure that lockd_start_svc sets the server rq_task...
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com> Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to '')
-rw-r--r--fs/lockd/svc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/lockd/svc.c b/fs/lockd/svc.c
index 8f27c93f8d2e..b416b3355807 100644
--- a/fs/lockd/svc.c
+++ b/fs/lockd/svc.c
@@ -313,6 +313,8 @@ static int lockd_start_svc(struct svc_serv *serv)
"lockd_up: kthread_run failed, error=%d\n", error);
goto out_task;
}
+ nlmsvc_rqst->rq_task = nlmsvc_task;
+
dprintk("lockd_up: service started\n");
return 0;