summaryrefslogtreecommitdiffstats
path: root/fs/lockd
diff options
context:
space:
mode:
authorTrond Myklebust <trond.myklebust@primarydata.com>2014-08-03 13:03:07 -0400
committerJ. Bruce Fields <bfields@redhat.com>2014-08-17 12:00:10 -0400
commitd6a7ce424f9e32b6a5589f6bb96e0d1381479d48 (patch)
tree5764619001ad3edff7deab8e46e2270e5b4d7246 /fs/lockd
parent9e5b208dc9b2460f83f218ef6a6a1b1309fcd6b0 (diff)
downloadlinux-d6a7ce424f9e32b6a5589f6bb96e0d1381479d48.tar.bz2
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 'fs/lockd')
-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;