Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=a8c68f32644fc8942b25af9239967dd01be621fa
Commit:     a8c68f32644fc8942b25af9239967dd01be621fa
Parent:     2665ea842dc9f4c04bdb57f8b7c2023759ac8c85
Author:     David Woodhouse <[EMAIL PROTECTED]>
AuthorDate: Sat Oct 13 11:32:16 2007 +0100
Committer:  David Woodhouse <[EMAIL PROTECTED]>
CommitDate: Sat Oct 13 11:32:16 2007 +0100

    [JFFS2] Don't count all 'very dirty' blocks except in debug mode
    
    ... where we'll actually print the count in a debug message.
    
    Signed-off-by: David Woodhouse <[EMAIL PROTECTED]>
---
 fs/jffs2/nodemgmt.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/fs/jffs2/nodemgmt.c b/fs/jffs2/nodemgmt.c
index 1b79534..a0313fa 100644
--- a/fs/jffs2/nodemgmt.c
+++ b/fs/jffs2/nodemgmt.c
@@ -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;
                }
        }
 
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to