Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 228995
b: refs/heads/master
c: 66f4500
h: refs/heads/master
i:
  228993: 081894c
  228991: 7cae01d
v: v3
  • Loading branch information
Wengang Wang authored and Joel Becker committed Dec 16, 2010
1 parent ce795a2 commit 16b4bc5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 8e17d16f401f7c60908726e070bfa5cbdf31e2f3
refs/heads/master: 66f4500573fe5a1b455e5f7b30068a623a94117f
3 changes: 3 additions & 0 deletions trunk/fs/ocfs2/dlm/dlmlock.c
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,9 @@ static int dlm_can_grant_new_lock(struct dlm_lock_resource *res,

if (!dlm_lock_compatible(tmplock->ml.type, lock->ml.type))
return 0;
if (!dlm_lock_compatible(tmplock->ml.convert_type,
lock->ml.type))
return 0;
}

return 1;
Expand Down

0 comments on commit 16b4bc5

Please sign in to comment.