aboutsummaryrefslogtreecommitdiffstats
path: root/fs/gfs2/incore.h
diff options
context:
space:
mode:
authorSteven Whitehouse <swhiteho@redhat.com>2007-11-02 05:14:31 -0400
committerSteven Whitehouse <swhiteho@redhat.com>2008-01-25 03:07:44 -0500
commite589665eb97b297412fb16b4c1737a01a91db903 (patch)
tree139a302a47bda6241d40a61bec1d7239de0e7108 /fs/gfs2/incore.h
parent3042a2ccd68d2b609d283219e51cba363aa35c1d (diff)
[GFS2] Remove flags no longer required
The HIF_MUTEX and HIF_PROMOTE flags were set on the glock holders depending upon which of the two waiters lists they were going to be queued upon. They were then tested when the holders were taken off the lists to ensure that the right type of holder was being dequeued. Since we are already using separate lists, there doesn't seem a lot of point having these flags as well, and since setting them and testing them is in the fast path for locking and unlocking glock, this patch removes them. Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/gfs2/incore.h')
-rw-r--r--fs/gfs2/incore.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/fs/gfs2/incore.h b/fs/gfs2/incore.h
index 089dba412cc0..478023e9fda6 100644
--- a/fs/gfs2/incore.h
+++ b/fs/gfs2/incore.h
@@ -141,10 +141,6 @@ struct gfs2_glock_operations {
141}; 141};
142 142
143enum { 143enum {
144 /* Actions */
145 HIF_MUTEX = 0,
146 HIF_PROMOTE = 1,
147
148 /* States */ 144 /* States */
149 HIF_HOLDER = 6, 145 HIF_HOLDER = 6,
150 HIF_FIRST = 7, 146 HIF_FIRST = 7,