aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDima Zavin <dima@android.com>2011-12-13 01:24:41 +0800
committerAndy Green <andy.green@linaro.org>2012-01-09 10:55:43 +0800
commit4d4079e4099fe483934ce06b1c9d9931df9dfd51 (patch)
tree254bbecf00b032253bf1151ae63d11cc029ac1c6
parentc01b7ffb195a79766e5f286bc596e70f5c5e96b7 (diff)
downloadimx53-4d4079e4099fe483934ce06b1c9d9931df9dfd51.tar.gz
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)