nfsd4: introduce nfs4_client.cl_refcount
[safe/jmp/linux-2.6] / fs / nfsd / state.h
index 98836fd..ee42a0b 100644 (file)
@@ -233,6 +233,8 @@ struct nfs4_client {
        struct nfsd4_clid_slot  cl_cs_slot;     /* create_session slot */
        u32                     cl_exchange_flags;
        struct nfs4_sessionid   cl_sessionid;
+       /* number of rpc's in progress over an associated session: */
+       atomic_t                cl_refcount;
 
        /* for nfs41 callbacks */
        /* We currently support a single back channel with a single slot */