[Yaffs] Squelch mount-time debug messages by default
Todd Poynor
tpoynor at mvista.com
Fri Nov 4 01:33:09 GMT 2005
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 <tpoynor at mvista.com>
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;
More information about the yaffs
mailing list