Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 213005
b: refs/heads/master
c: 1a9476a
h: refs/heads/master
i:
  213003: be5172c
v: v3
  • Loading branch information
Artem Bityutskiy authored and Artem Bityutskiy committed Aug 30, 2010
1 parent 6f0cfcb commit dc93e2f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ba2f48f70efcf4d82deafb2be327ed64b1f043a5
refs/heads/master: 1a9476a77083354005750c9df45ba9d71ad12c8c
6 changes: 6 additions & 0 deletions trunk/fs/ubifs/gc.c
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,9 @@ int data_nodes_cmp(void *priv, struct list_head *a, struct list_head *b)
struct ubifs_scan_node *sa, *sb;

cond_resched();
if (a == b)
return 0;

sa = list_entry(a, struct ubifs_scan_node, list);
sb = list_entry(b, struct ubifs_scan_node, list);

Expand Down Expand Up @@ -165,6 +168,9 @@ int nondata_nodes_cmp(void *priv, struct list_head *a, struct list_head *b)
struct ubifs_scan_node *sa, *sb;

cond_resched();
if (a == b)
return 0;

sa = list_entry(a, struct ubifs_scan_node, list);
sb = list_entry(b, struct ubifs_scan_node, list);

Expand Down

0 comments on commit dc93e2f

Please sign in to comment.