summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDima Zavin <dima@android.com>2011-12-02 14:05:36 +0800
committerAndy Green <andy.green@linaro.org>2011-12-02 14:05:36 +0800
commit8854e1544aebf841d902d2016e6097deffaad0f9 (patch)
tree636c312a367f115c4a7cdee252e4423dfb5fb5ef
parente2243d774f8d8c21b1b3109da6dd4d419ddff127 (diff)
fs: yaffs: don't force YAFFS_TRACE_ALWAYS for all trace levels
Change-Id: I9ddc676382d26aef7f12145d412fe670cb486317 Signed-off-by: Dima Zavin <dima@android.com>
-rw-r--r--fs/yaffs2/yportenv.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/yaffs2/yportenv.h b/fs/yaffs2/yportenv.h
index 236f5793ecc..8183425448c 100644
--- a/fs/yaffs2/yportenv.h
+++ b/fs/yaffs2/yportenv.h
@@ -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)