]> err.no Git - linux-2.6/blobdiff - fs/jffs2/nodemgmt.c
fix reentrancy bug in arcmsr_get_iop_{r,w}qbuffer()
[linux-2.6] / fs / jffs2 / nodemgmt.c
index 1b79534e9d4850991cbf2a035f60fd7225c743e7..a0313fa8748e375d5ee1c2438794e5052faa360f 100644 (file)
@@ -749,7 +749,9 @@ int jffs2_thread_should_wake(struct jffs2_sb_info *c)
                nr_very_dirty++;
                if (nr_very_dirty == c->vdirty_blocks_gctrigger) {
                        ret = 1;
-                       D1(break);
+                       /* In debug mode, actually go through and count them all */
+                       D1(continue);
+                       break;
                }
        }