lockd: Ensure that lockd_start_svc sets the server rq_task...
authorTrond Myklebust <trond.myklebust@primarydata.com>
Sun, 3 Aug 2014 17:03:07 +0000 (13:03 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Sun, 17 Aug 2014 16:00:10 +0000 (12:00 -0400)
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/lockd/svc.c

index 8f27c93f8d2ed88edd55e623baac11b6f94ccfd5..b416b3355807de0e5217e33cbcc31bc149d28de0 100644 (file)
@@ -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;