aboutsummaryrefslogtreecommitdiffstats
path: root/fs/gfs2
diff options
context:
space:
mode:
authorDavid Teigland <teigland@redhat.com>2007-08-07 10:44:48 -0400
committerSteven Whitehouse <swhiteho@redhat.com>2007-08-14 05:31:02 -0400
commit3650925893469ccb03dbcc6a440c5d363350f591 (patch)
tree8f0b9d6ce880547723cb6590c27799821b9c2f96 /fs/gfs2
parent9e5f2825a8b721360b291f14f42cd7a25781156b (diff)
[DLM] fix basts for granted PR waiting CW
Fix a long standing bug where a blocking callback would be missed when there's a granted lock in PR mode and waiting locks in both PR and CW modes (and the PR lock was added to the waiting queue before the CW lock). The logic simply compared the numerical values of the modes to determine if a blocking callback was required, but in the one case of PR and CW, the lower valued CW mode blocks the higher valued PR mode. We just need to add a special check for this PR/CW case in the tests that decide when a blocking callback is needed. Signed-off-by: David Teigland <teigland@redhat.com> Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/gfs2')
0 files changed, 0 insertions, 0 deletions