SUNRPC: Convert rpc_clnt->cl_users to a kref
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
This commit is contained in:
@@ -24,8 +24,8 @@ struct rpc_inode;
|
||||
* The high-level client handle
|
||||
*/
|
||||
struct rpc_clnt {
|
||||
struct kref cl_kref; /* Number of references */
|
||||
atomic_t cl_count; /* Number of clones */
|
||||
atomic_t cl_users; /* number of references */
|
||||
struct list_head cl_clients; /* Global list of clients */
|
||||
struct list_head cl_tasks; /* List of tasks */
|
||||
spinlock_t cl_lock; /* spinlock */
|
||||
|
Reference in New Issue
Block a user