aboutsummaryrefslogtreecommitdiffstats
path: root/fs/gfs2/incore.h
diff options
context:
space:
mode:
authorSteven Whitehouse <swhiteho@redhat.com>2006-09-13 10:43:37 -0400
committerSteven Whitehouse <swhiteho@redhat.com>2006-09-13 10:43:37 -0400
commit16feb9fec0e1f74339bd6992130ceedb3aa9567e (patch)
treecc759c3d591fdd2915de4dcd08bc7baf4290f48f /fs/gfs2/incore.h
parent0bc0748dfbefacce9c6b67ab23f2c80133b598f7 (diff)
[GFS2] Use atomic_t rather than kref in glock.c
Use atomic_t as the ref count in glocks rather than a kref. This is another step towards using RCU for the glock hash. Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/gfs2/incore.h')
-rw-r--r--fs/gfs2/incore.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/gfs2/incore.h b/fs/gfs2/incore.h
index c68d39271ed..89df68b32fc 100644
--- a/fs/gfs2/incore.h
+++ b/fs/gfs2/incore.h
@@ -164,7 +164,7 @@ struct gfs2_glock {
164 struct hlist_node gl_list; 164 struct hlist_node gl_list;
165 unsigned long gl_flags; /* GLF_... */ 165 unsigned long gl_flags; /* GLF_... */
166 struct lm_lockname gl_name; 166 struct lm_lockname gl_name;
167 struct kref gl_ref; 167 atomic_t gl_ref;
168 168
169 spinlock_t gl_spin; 169 spinlock_t gl_spin;
170 170