Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 106903
b: refs/heads/master
c: 329fc4c
h: refs/heads/master
i:
  106901: 655e5d2
  106899: 09bd3ed
  106895: 0c81525
v: v3
  • Loading branch information
David Teigland committed Jul 14, 2008
1 parent 9c67213 commit ab736d4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 254ae43ab8d7877c980fca3636624e0777a70fa4
refs/heads/master: 329fc4c37212588091b64bdf09afaeb18642aae2
3 changes: 2 additions & 1 deletion trunk/fs/dlm/lock.c
Original file line number Diff line number Diff line change
Expand Up @@ -1782,7 +1782,8 @@ static void grant_pending_locks(struct dlm_rsb *r)

list_for_each_entry_safe(lkb, s, &r->res_grantqueue, lkb_statequeue) {
if (lkb->lkb_bastfn && lock_requires_bast(lkb, high, cw)) {
if (cw && high == DLM_LOCK_PR)
if (cw && high == DLM_LOCK_PR &&
lkb->lkb_grmode == DLM_LOCK_PR)
queue_bast(r, lkb, DLM_LOCK_CW);
else
queue_bast(r, lkb, high);
Expand Down

0 comments on commit ab736d4

Please sign in to comment.