Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 157055
b: refs/heads/master
c: c795b33
h: refs/heads/master
i:
  157053: c8bc815
  157051: cd1120b
  157047: 1df9264
  157039: 1872bc8
  157023: bd611e8
  156991: 3cba487
  156927: 24e2f77
v: v3
  • Loading branch information
Goldwyn Rodrigues authored and Joel Becker committed Aug 21, 2009
1 parent cb407a6 commit 2093ba6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: a8b88d3d49623ac701b5dc996cbd61219c793c7c
refs/heads/master: c795b33ba171e41563ab7e25105c0cd4edd81cd7
4 changes: 2 additions & 2 deletions trunk/fs/ocfs2/dlm/dlmunlock.c
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ static enum dlm_status dlmunlock_common(struct dlm_ctxt *dlm,
* that still has AST's pending... */
in_use = !list_empty(&lock->ast_list);
spin_unlock(&dlm->ast_lock);
if (in_use) {
if (in_use && !(flags & LKM_CANCEL)) {
mlog(ML_ERROR, "lockres %.*s: Someone is calling dlmunlock "
"while waiting for an ast!", res->lockname.len,
res->lockname.name);
Expand All @@ -131,7 +131,7 @@ static enum dlm_status dlmunlock_common(struct dlm_ctxt *dlm,

spin_lock(&res->spinlock);
if (res->state & DLM_LOCK_RES_IN_PROGRESS) {
if (master_node) {
if (master_node && !(flags & LKM_CANCEL)) {
mlog(ML_ERROR, "lockres in progress!\n");
spin_unlock(&res->spinlock);
return DLM_FORWARD;
Expand Down

0 comments on commit 2093ba6

Please sign in to comment.