nfsd4: use generic callback code in null case

This will eventually allow us, for example, to kick off null callback
from contexts where we can't sleep.

Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
This commit is contained in:
J. Bruce Fields
2010-05-26 17:52:14 -04:00
committed by J. Bruce Fields
parent 5878453dbd
commit cee277d924
3 changed files with 20 additions and 15 deletions

View File

@ -223,6 +223,7 @@ struct nfs4_client {
struct nfs4_cb_conn cl_cb_conn;
struct rpc_clnt *cl_cb_client;
atomic_t cl_cb_set;
struct nfsd4_callback cl_cb_null;
/* for nfs41 */
struct list_head cl_sessions;