yaffs direct: Change tracing flag for mount message
authorCharles Manning <cdhmanning@gmail.com>
Sun, 7 Nov 2010 23:05:55 +0000 (12:05 +1300)
committerCharles Manning <cdhmanning@gmail.com>
Sun, 7 Nov 2010 23:05:55 +0000 (12:05 +1300)
Was TRACE_ALWAYS, is now TRACE_MOUNT.

Signed-off-by: Charles Manning <cdhmanning@gmail.com>
direct/yaffsfs.c
yaffs_trace.h

index 3cd532e76d21867184076e5ac94a0e86529786d7..38b3fb6fa4640ec1391f9c7f09b118d7cd87aeaf 100644 (file)
@@ -1844,7 +1844,7 @@ int yaffs_mount2(const YCHAR *path,int read_only)
        struct yaffs_dev *dev=NULL;
        YCHAR *dummy;
 
-       T(YAFFS_TRACE_ALWAYS,(TSTR("yaffs: Mounting %s" TENDSTR),path));
+       T(YAFFS_TRACE_MOUNT,(TSTR("yaffs: Mounting %s" TENDSTR),path));
 
        yaffsfs_Lock();
 
index 90dbefc97751b7786fac1af4051e49d553707133..8f632ff693722a86eb5e1415cf02dc3b12728688 100644 (file)
@@ -48,6 +48,7 @@ extern unsigned int yaffs_wr_attempts;
 #define YAFFS_TRACE_SYNC               0x00100000
 #define YAFFS_TRACE_BACKGROUND         0x00200000
 #define YAFFS_TRACE_LOCK               0x00400000
+#define YAFFS_TRACE_MOUNT              0x00800000
 
 #define YAFFS_TRACE_ERROR              0x40000000
 #define YAFFS_TRACE_BUG                        0x80000000