Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 210970
b: refs/heads/master
c: 228ac63
h: refs/heads/master
v: v3
  • Loading branch information
Tristan Ye authored and Joel Becker committed Sep 10, 2010
1 parent 428f947 commit c9e492b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 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: 0f4da216b8c3c35c90ecd18e1899c6f125957c2b
refs/heads/master: 228ac6357718df2d5c8d70210fa51b2225aab5ee
9 changes: 8 additions & 1 deletion trunk/fs/ocfs2/dlm/dlmdebug.c
Original file line number Diff line number Diff line change
Expand Up @@ -636,8 +636,14 @@ static void *lockres_seq_start(struct seq_file *m, loff_t *pos)
spin_lock(&dlm->track_lock);
if (oldres)
track_list = &oldres->tracking;
else
else {
track_list = &dlm->tracking_list;
if (list_empty(track_list)) {
dl = NULL;
spin_unlock(&dlm->track_lock);
goto bail;
}
}

list_for_each_entry(res, track_list, tracking) {
if (&res->tracking == &dlm->tracking_list)
Expand All @@ -660,6 +666,7 @@ static void *lockres_seq_start(struct seq_file *m, loff_t *pos)
} else
dl = NULL;

bail:
/* passed to seq_show */
return dl;
}
Expand Down

0 comments on commit c9e492b

Please sign in to comment.