Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 209280
b: refs/heads/master
c: b11f1f1
h: refs/heads/master
v: v3
  • Loading branch information
Wengang Wang authored and Joel Becker committed Aug 7, 2010
1 parent 7029db1 commit 91596ae
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 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: a524812b7eaa7783d7811198921100f079034e61
refs/heads/master: b11f1f1ab73fd358b1b734a9427744802202ba68
4 changes: 0 additions & 4 deletions trunk/fs/ocfs2/dlm/dlmmaster.c
Original file line number Diff line number Diff line change
Expand Up @@ -511,8 +511,6 @@ static void dlm_lockres_release(struct kref *kref)

atomic_dec(&dlm->res_cur_count);

dlm_put(dlm);

if (!hlist_unhashed(&res->hash_node) ||
!list_empty(&res->granted) ||
!list_empty(&res->converting) ||
Expand Down Expand Up @@ -585,8 +583,6 @@ static void dlm_init_lockres(struct dlm_ctxt *dlm,
res->migration_pending = 0;
res->inflight_locks = 0;

/* put in dlm_lockres_release */
dlm_grab(dlm);
res->dlm = dlm;

kref_init(&res->refs);
Expand Down

0 comments on commit 91596ae

Please sign in to comment.