]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
dlm: fix basts for granted CW waiting PR/CW
authorDavid Teigland <teigland@redhat.com>
Tue, 20 May 2008 17:18:10 +0000 (12:18 -0500)
committerDavid Teigland <teigland@redhat.com>
Mon, 14 Jul 2008 18:56:59 +0000 (13:56 -0500)
commit329fc4c37212588091b64bdf09afaeb18642aae2
tree1df9d0ed055afb2f46669142472f7c88554a93bc
parent254ae43ab8d7877c980fca3636624e0777a70fa4
dlm: fix basts for granted CW waiting PR/CW

The fix in commit 3650925893469ccb03dbcc6a440c5d363350f591 was addressing
the case of a granted PR lock with waiting PR and CW locks.  It's a
special case that requires forcing a CW bast.  However, that forced CW
bast was incorrectly applying to a second condition where the granted
lock was CW.  So, the holder of a CW lock could receive an extraneous CW
bast instead of a PR bast.  This fix narrows the original special case to
what was intended.

Signed-off-by: David Teigland <teigland@redhat.com>
fs/dlm/lock.c