]> git.baikalelectronics.ru Git - kernel.git/commit
nfs: do not start the callback thread until we set rqstp->rq_task
authorTrond Myklebust <trond.myklebust@primarydata.com>
Tue, 2 Sep 2014 17:58:58 +0000 (13:58 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Tue, 2 Sep 2014 21:53:30 +0000 (17:53 -0400)
commitf4204f4db3111fbaf13dd02f9fc96c57ac02a014
treeec63e3a95616c279d9b5ae6014daf198f0a93603
parent6e17d4a401b0138986b002f050ecf306d153a4ac
nfs: do not start the callback thread until we set rqstp->rq_task

This fixes an Oopsable race when starting up the callback server.

Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Reviewed-by: Jeff Layton <jlayton@primarydata.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfs/callback.c