nfs: Ensure that nfs_callback_start_svc sets the server rq_task...
authorTrond Myklebust <trond.myklebust@primarydata.com>
Sun, 3 Aug 2014 17:03:08 +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/nfs/callback.c

index 54de482..e3dd1cd 100644 (file)
@@ -244,6 +244,7 @@ static int nfs_callback_start_svc(int minorversion, struct rpc_xprt *xprt,
                cb_info->task = NULL;
                return ret;
        }
+       rqstp->rq_task = cb_info->task;
        dprintk("nfs_callback_up: service started\n");
        return 0;
 }