diff options
Diffstat (limited to 'fs')
-rw-r--r-- | fs/gfs2/ops_fstype.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/gfs2/ops_fstype.c b/fs/gfs2/ops_fstype.c index b040fda1f5..a86ce67949 100644 --- a/fs/gfs2/ops_fstype.c +++ b/fs/gfs2/ops_fstype.c | |||
@@ -57,7 +57,7 @@ static struct gfs2_sbd *init_sbd(struct super_block *sb) | |||
57 | gfs2_tune_init(&sdp->sd_tune); | 57 | gfs2_tune_init(&sdp->sd_tune); |
58 | 58 | ||
59 | for (x = 0; x < GFS2_GL_HASH_SIZE; x++) { | 59 | for (x = 0; x < GFS2_GL_HASH_SIZE; x++) { |
60 | sdp->sd_gl_hash[x].hb_lock = RW_LOCK_UNLOCKED; | 60 | rwlock_init(&sdp->sd_gl_hash[x].hb_lock); |
61 | INIT_LIST_HEAD(&sdp->sd_gl_hash[x].hb_list); | 61 | INIT_LIST_HEAD(&sdp->sd_gl_hash[x].hb_list); |
62 | } | 62 | } |
63 | INIT_LIST_HEAD(&sdp->sd_reclaim_list); | 63 | INIT_LIST_HEAD(&sdp->sd_reclaim_list); |