[Yaffs] Squelch mount-time debug messages by default

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Todd Poynor
Date:  
To: yaffs
Subject: [Yaffs] Squelch mount-time debug messages by default
Modify tracing of yaffs_GutsInitialise entry/exit messages from TRACE_ALWAYS
to TRACE_TRACING (assuming this is an intended use of that trace flag).

Signed-off-by: Todd Poynor <>


Index: yaffs_guts.c
===================================================================
RCS file: /home/aleph1/cvs/yaffs2/yaffs_guts.c,v
retrieving revision 1.22
diff -u -r1.22 yaffs_guts.c
--- yaffs_guts.c    13 Oct 2005 02:17:00 -0000    1.22
+++ yaffs_guts.c    4 Nov 2005 01:07:44 -0000
@@ -5325,7 +5325,7 @@
     int extraBits;
     int nBlocks;


-    T(YAFFS_TRACE_ALWAYS, (TSTR("yaffs: yaffs_GutsInitialise()" TENDSTR)));
+    T(YAFFS_TRACE_TRACING, (TSTR("yaffs: yaffs_GutsInitialise()" TENDSTR)));


     /* Check stuff that must be set */


@@ -5528,7 +5528,7 @@

     yaffs_VerifyFreeChunks(dev);


-    T(YAFFS_TRACE_ALWAYS,
+    T(YAFFS_TRACE_TRACING,
       (TSTR("yaffs: yaffs_GutsInitialise() done.\n" TENDSTR)));
     return YAFFS_OK;