From 3aa21d8e7dd1d5500e362e42b3c07a7e99d789f2 Mon Sep 17 00:00:00 2001 From: Steven Whitehouse Date: Wed, 5 Jul 2006 10:41:39 -0400 Subject: [PATCH] --- yaml --- r: 38736 b: refs/heads/master c: ecb1460dc44ffb8d3e570597f394504898f088bb h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/fs/gfs2/ops_fstype.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index dd1ee249e879..6c550df879d5 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: cf57a308436653f3094590202c77459aab250ff3 +refs/heads/master: ecb1460dc44ffb8d3e570597f394504898f088bb diff --git a/trunk/fs/gfs2/ops_fstype.c b/trunk/fs/gfs2/ops_fstype.c index b040fda1f54c..a86ce67949db 100644 --- a/trunk/fs/gfs2/ops_fstype.c +++ b/trunk/fs/gfs2/ops_fstype.c @@ -57,7 +57,7 @@ static struct gfs2_sbd *init_sbd(struct super_block *sb) gfs2_tune_init(&sdp->sd_tune); for (x = 0; x < GFS2_GL_HASH_SIZE; x++) { - sdp->sd_gl_hash[x].hb_lock = RW_LOCK_UNLOCKED; + rwlock_init(&sdp->sd_gl_hash[x].hb_lock); INIT_LIST_HEAD(&sdp->sd_gl_hash[x].hb_list); } INIT_LIST_HEAD(&sdp->sd_reclaim_list);