]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[GFS2] Remove flags no longer required
authorSteven Whitehouse <swhiteho@redhat.com>
Fri, 2 Nov 2007 09:14:31 +0000 (09:14 +0000)
committerSteven Whitehouse <swhiteho@redhat.com>
Fri, 25 Jan 2008 08:07:44 +0000 (08:07 +0000)
commite589665eb97b297412fb16b4c1737a01a91db903
tree139a302a47bda6241d40a61bec1d7239de0e7108
parent3042a2ccd68d2b609d283219e51cba363aa35c1d
[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>
fs/gfs2/glock.c
fs/gfs2/incore.h