]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - fs/jffs2/gc.c
[NETFILTER]: nf_log: use rcu_assign_pointer for RCU protected pointer
[linux-2.6-omap-h63xx.git] / fs / jffs2 / gc.c
index daff3341ff92b58cb72916678f69603e64ed5972..3a3cf225981f5a28daa3d2dc5fbce4e26ccf9c9d 100644 (file)
@@ -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;