nfsd4: introduce nfs4_client.cl_refcount
authorBenny Halevy <bhalevy@panasas.com>
Tue, 11 May 2010 21:13:29 +0000 (00:13 +0300)
committerJ. Bruce Fields <bfields@citi.umich.edu>
Thu, 13 May 2010 15:47:03 +0000 (11:47 -0400)
Currently just initialize the cl_refcount to 1
and decrement in expire_client(), conditionally freeing the
client when the refcount reaches 0.

To be used later by nfsv4.1 compounds to keep the client from
timing out while in use.

Signed-off-by: Benny Halevy <bhalevy@panasas.com>
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>

No differences found