diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2007-06-14 16:40:31 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2007-07-10 23:40:28 -0400 |
commit | 34f52e3591f241b825353ba27def956d8487c400 (patch) | |
tree | 9f7f0cd52f206095217bd2469e31c2531cbae0a4 /include/linux/sunrpc/clnt.h | |
parent | c44fe705530ff9ea5e563bf9b65bdd29defe682b (diff) |
SUNRPC: Convert rpc_clnt->cl_users to a kref
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'include/linux/sunrpc/clnt.h')
-rw-r--r-- | include/linux/sunrpc/clnt.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/sunrpc/clnt.h b/include/linux/sunrpc/clnt.h index 2f4b520a7419..003d8ea70c19 100644 --- a/include/linux/sunrpc/clnt.h +++ b/include/linux/sunrpc/clnt.h | |||
@@ -24,8 +24,8 @@ struct rpc_inode; | |||
24 | * The high-level client handle | 24 | * The high-level client handle |
25 | */ | 25 | */ |
26 | struct rpc_clnt { | 26 | struct rpc_clnt { |
27 | struct kref cl_kref; /* Number of references */ | ||
27 | atomic_t cl_count; /* Number of clones */ | 28 | atomic_t cl_count; /* Number of clones */ |
28 | atomic_t cl_users; /* number of references */ | ||
29 | struct list_head cl_clients; /* Global list of clients */ | 29 | struct list_head cl_clients; /* Global list of clients */ |
30 | struct list_head cl_tasks; /* List of tasks */ | 30 | struct list_head cl_tasks; /* List of tasks */ |
31 | spinlock_t cl_lock; /* spinlock */ | 31 | spinlock_t cl_lock; /* spinlock */ |