Change tracing for bad block checking
authorCharles Manning <cdhmanning@gmail.com>
Sun, 7 Jul 2013 23:45:48 +0000 (11:45 +1200)
committerCharles Manning <cdhmanning@gmail.com>
Sun, 7 Jul 2013 23:45:48 +0000 (11:45 +1200)
Signed-off-by: Charles Manning <cdhmanning@gmail.com>
yaffs_mtdif_multi.c

index fe91a9e..7ae63c5 100644 (file)
@@ -215,7 +215,7 @@ static int yaffs_mtd_check_bad(struct yaffs_dev *dev, int block_no)
        int blocksize = dev->param.chunks_per_block * dev->param.total_bytes_per_chunk;
        int retval;
 
-       yaffs_trace(YAFFS_TRACE_BAD_BLOCKS, "checking block %d bad", block_no);
+       yaffs_trace(YAFFS_TRACE_MTD, "checking block %d bad", block_no);
 
        retval = mtd_block_isbad(mtd, (loff_t) blocksize * block_no);
        return (retval) ? YAFFS_FAIL : YAFFS_OK;