[GFS2] Correct logic in glock scanner
authorSteven Whitehouse <swhiteho@redhat.com>
Wed, 5 Jul 2006 17:16:19 +0000 (13:16 -0400)
committerSteven Whitehouse <swhiteho@redhat.com>
Wed, 5 Jul 2006 17:16:19 +0000 (13:16 -0400)
commit627add2d1385394d020c84533c91ad26bc37b166
treea039b59e1d33ae40f5fd51d400aa734c2086db8d
parentfd4de2d41a9de2d949b0850d637aa84616f87ab8
[GFS2] Correct logic in glock scanner

Under certain circumstances the glock scanning logic would
demote locks which ought not to have been selected for
demotion.

Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
fs/gfs2/glock.c