fs: yaffs: don't force YAFFS_TRACE_ALWAYS for all trace levels

Change-Id: I9ddc676382d26aef7f12145d412fe670cb486317
Signed-off-by: Dima Zavin <dima@android.com>
This commit is contained in:
Dima Zavin 2011-01-05 16:03:21 -08:00 committed by Stephen Boyd
parent cea60fc92c
commit 477ce7ce8e
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@
#endif
#define yaffs_trace(msk, fmt, ...) do { \
if(yaffs_trace_mask & ((msk) | YAFFS_TRACE_ALWAYS)) \
if(yaffs_trace_mask & (msk)) \
printk(KERN_DEBUG "yaffs: " fmt "\n", ##__VA_ARGS__); \
} while(0)