]> git.baikalelectronics.ru Git - kernel.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)
commita25678532ae8e1441c1ac797d241c5156756288e
tree139a302a47bda6241d40a61bec1d7239de0e7108
parente9c4f0ce30628cc43f1bd204105fb2166570cf41
[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