yaffs: Change trace flag for partially written blocks
authorCharles Manning <cdhmanning@gmail.com>
Sun, 25 Apr 2010 23:20:03 +0000 (11:20 +1200)
committerCharles Manning <cdhmanning@gmail.com>
Sun, 25 Apr 2010 23:20:03 +0000 (11:20 +1200)
This was YAFFS_TRACE_ALWAYS which generated a lot of pointless tracing.
Switched to YAFFS_TRACE_SCAN.

Signed-off-by: Charles Manning <cdhmanning@gmail.com>
yaffs_guts.c

index 2ab6edf..087ac95 100644 (file)
@@ -6771,7 +6771,7 @@ static int yaffs_ScanBackwards(yaffs_Device *dev)
                                                         * the current allocation block.
                                                         */
 
-                                                        T(YAFFS_TRACE_ALWAYS,
+                                                        T(YAFFS_TRACE_SCAN,
                                                         (TSTR("Partially written block %d detected" TENDSTR),
                                                         blk));
                                                }