aboutsummaryrefslogtreecommitdiffstats
path: root/fs/gfs2/ops_fstype.c
diff options
context:
space:
mode:
authorSteven Whitehouse <swhiteho@redhat.com>2009-01-08 14:28:42 +0000
committerSteven Whitehouse <steve@dolmen.chygwyn.com>2009-03-24 11:21:13 +0000
commit22077f57dec8fcbeb1112b35313961c0902ff038 (patch)
treed3d871fe31b8ac922a09e28202c348d186d2dca3 /fs/gfs2/ops_fstype.c
parentGFS2: change gfs2_quota_scan into a shrinker (diff)
downloadlinux-dev-22077f57dec8fcbeb1112b35313961c0902ff038.tar.xz
linux-dev-22077f57dec8fcbeb1112b35313961c0902ff038.zip
GFS2: Remove "double" locking in quota
We only really need a single spin lock for the quota data, so lets just use the lru lock for now. Signed-off-by: Steven Whitehouse <swhiteho@redhat.com> Cc: Abhijith Das <adas@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 530d3f6f6ea8..402b6a2cd2c9 100644
--- a/fs/gfs2/ops_fstype.c
+++ b/fs/gfs2/ops_fstype.c
@@ -98,7 +98,6 @@ static struct gfs2_sbd *init_sbd(struct super_block *sb)
mutex_init(&sdp->sd_jindex_mutex);
INIT_LIST_HEAD(&sdp->sd_quota_list);
- spin_lock_init(&sdp->sd_quota_spin);
mutex_init(&sdp->sd_quota_mutex);
init_waitqueue_head(&sdp->sd_quota_wait);
INIT_LIST_HEAD(&sdp->sd_trunc_list);