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 3cd532e..38b3fb6 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 90dbefc..8f632ff 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