diff options
Diffstat (limited to 'fs/gfs2/main.c')
-rw-r--r-- | fs/gfs2/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/gfs2/main.c b/fs/gfs2/main.c index 2bdf246436c7..d2867988cc34 100644 --- a/fs/gfs2/main.c +++ b/fs/gfs2/main.c | |||
@@ -42,7 +42,7 @@ static void gfs2_init_glock_once(void *foo, kmem_cache_t *cachep, unsigned long | |||
42 | struct gfs2_glock *gl = foo; | 42 | struct gfs2_glock *gl = foo; |
43 | if ((flags & (SLAB_CTOR_VERIFY|SLAB_CTOR_CONSTRUCTOR)) == | 43 | if ((flags & (SLAB_CTOR_VERIFY|SLAB_CTOR_CONSTRUCTOR)) == |
44 | SLAB_CTOR_CONSTRUCTOR) { | 44 | SLAB_CTOR_CONSTRUCTOR) { |
45 | INIT_LIST_HEAD(&gl->gl_list); | 45 | INIT_HLIST_NODE(&gl->gl_list); |
46 | spin_lock_init(&gl->gl_spin); | 46 | spin_lock_init(&gl->gl_spin); |
47 | INIT_LIST_HEAD(&gl->gl_holders); | 47 | INIT_LIST_HEAD(&gl->gl_holders); |
48 | INIT_LIST_HEAD(&gl->gl_waiters1); | 48 | INIT_LIST_HEAD(&gl->gl_waiters1); |