git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fedora core 6 1.2949 + vserver 2.2.0
[linux-2.6.git]
/
fs
/
jffs2
/
gc.c
diff --git
a/fs/jffs2/gc.c
b/fs/jffs2/gc.c
index
daff334
..
3a3cf22
100644
(file)
--- a/
fs/jffs2/gc.c
+++ b/
fs/jffs2/gc.c
@@
-838,6
+838,8
@@
static int jffs2_garbage_collect_deletion_dirent(struct jffs2_sb_info *c, struct
for (raw = f->inocache->nodes; raw != (void *)f->inocache; raw = raw->next_in_ino) {
+ cond_resched();
+
/* We only care about obsolete ones */
if (!(ref_obsolete(raw)))
continue;