knfsd: spawn kernel thread to probe callback channel
authorJ. Bruce Fields <bfields@citi.umich.edu>
Fri, 27 Jul 2007 22:06:50 +0000 (18:06 -0400)
committerJ. Bruce Fields <bfields@citi.umich.edu>
Tue, 9 Oct 2007 22:31:56 +0000 (18:31 -0400)
commit2b47eece1fa519a81c8b802af77a8b8aa44baa10
treeb06263ca61a05cfaca7311bcfe542a44502c817c
parentc9b6cbe56d3ac471e6cd72a59ec9e324b3417016
knfsd: spawn kernel thread to probe callback channel

We want to allow gss on the callback channel, so people using krb5 can
still get the benefits of delegations.

But looking up the rpc credential can take some time in that case.  And
we shouldn't delay the response to setclientid_confirm while we wait.

It may be inefficient, but for now the simplest solution is just to
spawn a new thread as necessary for the purpose.

(Thanks to Adrian Bunk for catching a missing static here.)

Signed-off-by: "J. Bruce Fields" <bfields@citi.umich.edu>
Cc: Adrian Bunk <bunk@kernel.org>
fs/nfsd/nfs4callback.c