Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 131819
b: refs/heads/master
c: dabc47d
h: refs/heads/master
i:
  131817: 306568f
  131815: 2d863fd
v: v3
  • Loading branch information
Sunil Mushran authored and Mark Fasheh committed Feb 26, 2009
1 parent bd345cc commit e659bf8
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: c74ff8bb2235d848beb67fcfddae71ecbe3f92b1
refs/heads/master: dabc47de7a23f57522dc762d9d2ad875700d3497
4 changes: 2 additions & 2 deletions trunk/fs/ocfs2/dlm/dlmunlock.c
Original file line number Diff line number Diff line change
Expand Up @@ -117,11 +117,11 @@ static enum dlm_status dlmunlock_common(struct dlm_ctxt *dlm,
else
BUG_ON(res->owner == dlm->node_num);

spin_lock(&dlm->spinlock);
spin_lock(&dlm->ast_lock);
/* We want to be sure that we're not freeing a lock
* that still has AST's pending... */
in_use = !list_empty(&lock->ast_list);
spin_unlock(&dlm->spinlock);
spin_unlock(&dlm->ast_lock);
if (in_use) {
mlog(ML_ERROR, "lockres %.*s: Someone is calling dlmunlock "
"while waiting for an ast!", res->lockname.len,
Expand Down

0 comments on commit e659bf8

Please sign in to comment.