aboutsummaryrefslogtreecommitdiffstats
path: root/fs/gfs2/incore.h
diff options
context:
space:
mode:
authorSteven Whitehouse <swhiteho@redhat.com>2009-01-08 09:28:42 -0500
committerSteven Whitehouse <steve@dolmen.chygwyn.com>2009-03-24 07:21:13 -0400
commit22077f57dec8fcbeb1112b35313961c0902ff038 (patch)
treed3d871fe31b8ac922a09e28202c348d186d2dca3 /fs/gfs2/incore.h
parent0a7ab79c5b5a16035e09b466c9013c8afc3b4bff (diff)
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/incore.h')
-rw-r--r--fs/gfs2/incore.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/gfs2/incore.h b/fs/gfs2/incore.h
index 592aa5040d29..a0117d6eb145 100644
--- a/fs/gfs2/incore.h
+++ b/fs/gfs2/incore.h
@@ -540,7 +540,6 @@ struct gfs2_sbd {
540 540
541 struct list_head sd_quota_list; 541 struct list_head sd_quota_list;
542 atomic_t sd_quota_count; 542 atomic_t sd_quota_count;
543 spinlock_t sd_quota_spin;
544 struct mutex sd_quota_mutex; 543 struct mutex sd_quota_mutex;
545 wait_queue_head_t sd_quota_wait; 544 wait_queue_head_t sd_quota_wait;
546 struct list_head sd_trunc_list; 545 struct list_head sd_trunc_list;