summaryrefslogtreecommitdiffstats
path: root/fs/gfs2/ops_fstype.c
diff options
context:
space:
mode:
authorBob Peterson2007-12-12 18:44:41 +0100
committerSteven Whitehouse2008-01-25 09:15:16 +0100
commitc3f60b6e3a7667f78a63b15cf09655ecfca757fc (patch)
tree8dbe2656098c1fa69a9e149248533e1fba131ac5 /fs/gfs2/ops_fstype.c
parent[GFS2] Incremental patch to fix compiler warning (diff)
downloadkernel-qcow2-linux-c3f60b6e3a7667f78a63b15cf09655ecfca757fc.tar.gz
kernel-qcow2-linux-c3f60b6e3a7667f78a63b15cf09655ecfca757fc.tar.xz
kernel-qcow2-linux-c3f60b6e3a7667f78a63b15cf09655ecfca757fc.zip
[GFS2] Eliminate the no longer needed sd_statfs_mutex
This patch eliminates the unneeded sd_statfs_mutex mutex but preserves the ordering as discussed. Signed-off-by: Bob Peterson <rpeterso@redhat.com> Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/gfs2/ops_fstype.c')
-rw-r--r--fs/gfs2/ops_fstype.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/gfs2/ops_fstype.c b/fs/gfs2/ops_fstype.c
index 0921f17a164c..79f9bb365f10 100644
--- a/fs/gfs2/ops_fstype.c
+++ b/fs/gfs2/ops_fstype.c
@@ -60,7 +60,6 @@ static struct gfs2_sbd *init_sbd(struct super_block *sb)
mutex_init(&sdp->sd_inum_mutex);
spin_lock_init(&sdp->sd_statfs_spin);
- mutex_init(&sdp->sd_statfs_mutex);
spin_lock_init(&sdp->sd_rindex_spin);
mutex_init(&sdp->sd_rindex_mutex);