diff options
author | Steven Whitehouse <swhiteho@redhat.com> | 2009-01-08 14:28:42 +0000 |
---|---|---|
committer | Steven Whitehouse <steve@dolmen.chygwyn.com> | 2009-03-24 11:21:13 +0000 |
commit | 22077f57dec8fcbeb1112b35313961c0902ff038 (patch) | |
tree | d3d871fe31b8ac922a09e28202c348d186d2dca3 /fs/gfs2/ops_fstype.c | |
parent | 0a7ab79c5b5a16035e09b466c9013c8afc3b4bff (diff) | |
download | linux-3.10-22077f57dec8fcbeb1112b35313961c0902ff038.tar.gz linux-3.10-22077f57dec8fcbeb1112b35313961c0902ff038.tar.bz2 linux-3.10-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.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/gfs2/ops_fstype.c b/fs/gfs2/ops_fstype.c index 530d3f6f6ea..402b6a2cd2c 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); |