diff options
Diffstat (limited to 'fs/ocfs2/dlm/dlmlock.c')
-rw-r--r-- | fs/ocfs2/dlm/dlmlock.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/ocfs2/dlm/dlmlock.c b/fs/ocfs2/dlm/dlmlock.c index 69cf369961c4..7009292aac5a 100644 --- a/fs/ocfs2/dlm/dlmlock.c +++ b/fs/ocfs2/dlm/dlmlock.c | |||
@@ -106,6 +106,9 @@ static int dlm_can_grant_new_lock(struct dlm_lock_resource *res, | |||
106 | 106 | ||
107 | if (!dlm_lock_compatible(tmplock->ml.type, lock->ml.type)) | 107 | if (!dlm_lock_compatible(tmplock->ml.type, lock->ml.type)) |
108 | return 0; | 108 | return 0; |
109 | if (!dlm_lock_compatible(tmplock->ml.convert_type, | ||
110 | lock->ml.type)) | ||
111 | return 0; | ||
109 | } | 112 | } |
110 | 113 | ||
111 | return 1; | 114 | return 1; |